Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anbox compile error #1153

aurora-of-earth opened this issue Jun 1, 2019 · 1 comment


None yet
2 participants
Copy link

commented Jun 1, 2019

In file included from /home/aurora/A.Code/C++/anbox/src/anbox/dbus/skeleton/application_manager.cpp:20:
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::start(uint64_t)’:
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h:33:56: error: missing initializer for member ‘sd_bus_vtable::::::features’ [-Werror=missing-field-initializers]
   33 |   v.x.start = decltype(v.x.start){sizeof(sd_bus_vtable)};
      |                                                        ^
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::method_o(const char*, const char*, const char*, sd_bus_message_handler_t, size_t, uint64_t)’:
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h:52:79: error: missing initializer for member ‘sd_bus_vtable::::::names’ [-Werror=missing-field-initializers]
   52 |   v.x.method = decltype(v.x.method){member, signature, result, handler, offset};
      |                                                                               ^
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h: In function ‘constexpr sd_bus_vtable anbox::dbus::sdbus::vtable::signal(const char*, const char*, uint64_t)’:
/home/aurora/A.Code/C++/anbox/src/anbox/dbus/sd_bus_helpers.h:67:54: error: missing initializer for member ‘sd_bus_vtable::::::names’ [-Werror=missing-field-initializers]
   67 |   v.x.signal = decltype(v.x.signal){member, signature};
      |                                                      ^
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/anbox-core.dir/build.make:466: src/CMakeFiles/anbox-core.dir/anbox/dbus/skeleton/application_manager.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1944: src/CMakeFiles/anbox-core.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Built on Debian 10 with gcc 9.1.0

ImmanuelHaffner added a commit to ImmanuelHaffner/anbox that referenced this issue Jun 14, 2019


This comment has been minimized.

Copy link

commented Jun 23, 2019

It's only a compile error because of cc1plus: all warnings being treated as errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.