Skip to content

Mvisor failed to compile #82

Description

@einhander

Hello!

I use Debian Testing. I tried to compile the mvisor but without luck. Here the error log:

[89/182] Compiling C++ object mvisor.p/devices_agents_spice_agent.cc.o
FAILED: mvisor.p/devices_agents_spice_agent.cc.o 
c++ -Imvisor.p -I. -I.. -I../include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/pixman-1 -I/usr/include/virgl -I/usr/include/SDL2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -O2 -g -Wno-address-of-packed-member -Wno-missing-field-initializers -mavx2 -D_REENTRANT -pthread -MD -MQ mvisor.p/devices_agents_spice_agent.cc.o -MF mvisor.p/devices_agents_spice_agent.cc.o.d -o mvisor.p/devices_agents_spice_agent.cc.o -c ../devices/agents/spice_agent.cc
In file included from ../devices/agents/spice_agent.cc:29:
../devices/agents/serial_port.h:11:16: error: ‘virtual void SerialPort::SendMessage(uint8_t*, size_t)’ was hidden [-Werror=overloaded-virtual=]
   11 |   virtual void SendMessage(uint8_t* data, size_t size);
      |                ^~~~~~~~~~~
../devices/agents/spice_agent.cc:161:8: note:   by ‘void SpiceAgent::SendMessage(int, const std::string&)’
  161 |   void SendMessage(int port, const std::string& message) {
      |        ^~~~~~~~~~~
cc1plus: all warnings being treated as errors
[98/182] Compiling C++ object mvisor.p/devices_ahci_ata_disk.cc.o
ninja: build stopped: subcommand failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions