@@ -2,7 +2,7 @@ config BR2_PACKAGE_SDBUS_CPP
bool "sdbus-c++"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_SYSTEMD
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
+ depends on BR2_TOOLCHAIN_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++.
@@ -11,6 +11,6 @@ config BR2_PACKAGE_SDBUS_CPP
https://github.com/Kistler-Group/sdbus-cpp
-comment "sdbus-c++ needs systemd and a toolchain w/ C++, gcc >= 7"
+comment "sdbus-c++ needs systemd and a toolchain w/ C++, gcc >= 8"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_SYSTEMD || \
- !BR2_TOOLCHAIN_GCC_AT_LEAST_7
+ !BR2_TOOLCHAIN_GCC_AT_LEAST_8
@@ -1,6 +1,6 @@
config BR2_PACKAGE_HOST_SDBUS_CPP
bool "host sdbus-c++"
- depends on BR2_HOST_GCC_AT_LEAST_7
+ 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++.
Since bump to version 2.0.0 in commit 0f5bb364c629dd7fc91f4295f872e46d89c0feef 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: 0f5bb364c629dd7fc91f4295f872e46d89c0feef - http://autobuild.buildroot.net/results/1764ce0d48b390e430d2d8f54388013d3700e9d7 Signed-off-by: Sergey Bobrenok <bobrofon@gmail.com> --- package/sdbus-cpp/Config.in | 6 +++--- package/sdbus-cpp/Config.in.host | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)