buildroot/package/sdbus-cpp/Config.in.host
Sergey Bobrenok 21335682a1 package/sdbus-cpp: fix required gcc version
Since bump to version 2.0.0 in commit
0f5bb364c6 sdbus-cpp package requires
designated initializers support (C++20 feature), and fails to compile
with gcc < 8:

/home/buildroot/autobuild/run/instance-2/output-1/build/host-sdbus-cpp-2.0.0/src/Proxy.cpp: In member function 'virtual sdbus::Slot sdbus::internal::Proxy::callMethodAsync(const sdbus::MethodCall&, sdbus::async_reply_handler, uint64_t, sdbus::return_slot_t)':
/home/buildroot/autobuild/run/instance-2/output-1/build/host-sdbus-cpp-2.0.0/src/Proxy.cpp:146:90: sorry, unimplemented: non-trivial designated initializers not supported
                                                                       , .floating = true });

Fixes: 0f5bb364c6
 - http://autobuild.buildroot.net/results/1764ce0d48b390e430d2d8f54388013d3700e9d7

Signed-off-by: Sergey Bobrenok <bobrofon@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-09 23:11:23 +02:00

12 lines
377 B
Plaintext

config BR2_PACKAGE_HOST_SDBUS_CPP
bool "host sdbus-c++"
depends on BR2_HOST_GCC_AT_LEAST_8 # C++20
help
sdbus-c++ is a high-level C++ D-Bus library for Linux
designed to provide expressive, easy-to-use API in modern C++.
This will build the stub code generator for the adaptor and
proxy interfaces from D-Bus IDL.
https://github.com/Kistler-Group/sdbus-cpp