mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/sdbus-cpp: fix required gcc version
Since bump to version 2.0.0 in commit0f5bb364c6sdbus-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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
776dc1ed50
commit
21335682a1
@@ -2,7 +2,7 @@ config BR2_PACKAGE_SDBUS_CPP
|
|||||||
bool "sdbus-c++"
|
bool "sdbus-c++"
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_PACKAGE_SYSTEMD
|
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
|
help
|
||||||
sdbus-c++ is a high-level C++ D-Bus library for Linux
|
sdbus-c++ is a high-level C++ D-Bus library for Linux
|
||||||
designed to provide expressive, easy-to-use API in modern C++.
|
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
|
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 || \
|
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
|
config BR2_PACKAGE_HOST_SDBUS_CPP
|
||||||
bool "host sdbus-c++"
|
bool "host sdbus-c++"
|
||||||
depends on BR2_HOST_GCC_AT_LEAST_7
|
depends on BR2_HOST_GCC_AT_LEAST_8 # C++20
|
||||||
help
|
help
|
||||||
sdbus-c++ is a high-level C++ D-Bus library for Linux
|
sdbus-c++ is a high-level C++ D-Bus library for Linux
|
||||||
designed to provide expressive, easy-to-use API in modern C++.
|
designed to provide expressive, easy-to-use API in modern C++.
|
||||||
|
|||||||
Reference in New Issue
Block a user