package/libsigc: needs C++17

C++17 is mandatory since bump to version 3.0.7 in commit
d676c0e494 and
617276cf47

Fixes:
 - http://autobuild.buildroot.org/results/6753fc9dce030a7d8be9afd202a5e27bc09a0041

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine
2021-12-28 15:28:24 +01:00
committed by Thomas Petazzoni
parent aa4d258603
commit a4807a398e
10 changed files with 30 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
config BR2_PACKAGE_ATKMM config BR2_PACKAGE_ATKMM
bool "atkmm" bool "atkmm"
depends on BR2_INSTALL_LIBSTDCPP # glibmm depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2
depends on BR2_USE_MMU # atk/glibmm -> libglib2 depends on BR2_USE_MMU # atk/glibmm -> libglib2
depends on BR2_USE_WCHAR # atk/glibmm -> libglib2 depends on BR2_USE_WCHAR # atk/glibmm -> libglib2
@@ -14,7 +14,7 @@ config BR2_PACKAGE_ATKMM
http://www.gtkmm.org/ http://www.gtkmm.org/
comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_CAIROMM config BR2_PACKAGE_CAIROMM
bool "cairomm" bool "cairomm"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2 depends on BR2_USE_WCHAR # libglib2
depends on BR2_USE_MMU # libglib2 depends on BR2_USE_MMU # libglib2
@@ -13,7 +13,7 @@ config BR2_PACKAGE_CAIROMM
http://www.gtkmm.org/ http://www.gtkmm.org/
comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.8" comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_GLIBMM config BR2_PACKAGE_GLIBMM
bool "glibmm" bool "glibmm"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # regex_replace depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # libglib2 depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
@@ -12,7 +12,7 @@ config BR2_PACKAGE_GLIBMM
http://www.gtkmm.org/ http://www.gtkmm.org/
comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_GSTREAMER1_MM config BR2_PACKAGE_GSTREAMER1_MM
bool "gstreamer1-mm" bool "gstreamer1-mm"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_INSTALL_LIBSTDCPP # glibmm depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_USE_WCHAR # glibmm -> libglib2 depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
@@ -23,7 +23,7 @@ config BR2_PACKAGE_GSTREAMER1_MM
https://gstreamer.freedesktop.org/bindings/cplusplus.html https://gstreamer.freedesktop.org/bindings/cplusplus.html
comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -1,7 +1,7 @@
comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \ || !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS
@@ -14,7 +14,7 @@ config BR2_PACKAGE_GTKMM3
depends on !BR2_nios2 depends on !BR2_nios2
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/libgtk3 -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/libgtk3 -> libglib2
depends on BR2_USE_MMU # *mm/libgtk3 -> libglib2 depends on BR2_USE_MMU # *mm/libgtk3 -> libglib2
depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_LIBSIGC config BR2_PACKAGE_LIBSIGC
bool "libsigc++" bool "libsigc++"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
help help
libsigc++ implements a typesafe callback system for standard libsigc++ implements a typesafe callback system for standard
@@ -10,5 +10,5 @@ config BR2_PACKAGE_LIBSIGC
https://libsigcplusplus.github.io/libsigcplusplus/ https://libsigcplusplus.github.io/libsigcplusplus/
comment "libsigc++ needs a toolchain w/ C++, gcc >= 4.8" comment "libsigc++ needs a toolchain w/ C++, gcc >= 7"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7

View File

@@ -25,16 +25,16 @@ if BR2_PACKAGE_LIBSIGROK
config BR2_PACKAGE_LIBSIGROKCXX config BR2_PACKAGE_LIBSIGROKCXX
bool "build C++ bindings" bool "build C++ bindings"
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen
select BR2_PACKAGE_GLIBMM select BR2_PACKAGE_GLIBMM
select BR2_PACKAGE_HOST_DOXYGEN select BR2_PACKAGE_HOST_DOXYGEN
help help
Build libsigrok C++ bindings as well. Build libsigrok C++ bindings as well.
comment "C++ bindings need a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" comment "C++ bindings need a toolchain w/ C++, gcc >= 7, host gcc >= 4.9"
depends on !BR2_INSTALL_LIBSTDCPP || \ depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \
!BR2_HOST_GCC_AT_LEAST_4_9 !BR2_HOST_GCC_AT_LEAST_4_9
endif endif

View File

@@ -1,6 +1,6 @@
config BR2_PACKAGE_LIBXMLPP config BR2_PACKAGE_LIBXMLPP
bool "libxml++" bool "libxml++"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
depends on BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # glibmm -> libglib2 depends on BR2_USE_WCHAR # glibmm -> libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2
@@ -12,7 +12,7 @@ config BR2_PACKAGE_LIBXMLPP
https://libxmlplusplus.github.io/libxmlplusplus/ https://libxmlplusplus.github.io/libxmlplusplus/
comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP ||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU depends on BR2_USE_MMU

View File

@@ -2,7 +2,7 @@ config BR2_PACKAGE_PANGOMM
bool "pangomm" bool "pangomm"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2
depends on BR2_USE_MMU # *mm/pango -> libglib2 depends on BR2_USE_MMU # *mm/pango -> libglib2
depends on BR2_USE_WCHAR # *mm/pango -> libglib2 depends on BR2_USE_WCHAR # *mm/pango -> libglib2
@@ -15,8 +15,8 @@ config BR2_PACKAGE_PANGOMM
http://www.gtkmm.org/ http://www.gtkmm.org/
comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -10,7 +10,7 @@ config BR2_PACKAGE_PULSEVIEW
# libsigrok->libzip # libsigrok->libzip
depends on !BR2_STATIC_LIBS depends on !BR2_STATIC_LIBS
# libsigrok # libsigrok
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7
depends on BR2_HOST_GCC_AT_LEAST_4_9 depends on BR2_HOST_GCC_AT_LEAST_4_9
depends on BR2_ENABLE_LOCALE depends on BR2_ENABLE_LOCALE
select BR2_PACKAGE_LIBSIGROK select BR2_PACKAGE_LIBSIGROK
@@ -30,11 +30,11 @@ config BR2_PACKAGE_PULSEVIEW
http://sigrok.org/wiki/PulseView http://sigrok.org/wiki/PulseView
comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 4.9, host gcc >= 4.9" comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 7, host gcc >= 4.9"
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on BR2_PACKAGE_QT5 depends on BR2_PACKAGE_QT5
depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
|| BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \ || BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \
!BR2_HOST_GCC_AT_LEAST_4_9 !BR2_HOST_GCC_AT_LEAST_4_9