[Buildroot] [git commit] package/assimp: needs std::exception_ptr

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-12-12 14:13:47
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=55c2b3cf1c1946d7911e833edba82fcb60860fed
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Add dependency on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 to assure
std::exception_ptr support (the only in-tree assimp dependency
in package/qt5/qt53d is optional already).

Fixes:

  - http://autobuild.buildroot.net/results/0cc9cab2761591af57d6d6744a0dd61b7c60e935

  In file included from .../build/assimp-5.1.0/include/assimp/GenericProperty.h:52:0,
                   from .../build/assimp-5.1.0/code/Common/BaseProcess.h:46,
                   from .../build/assimp-5.1.0/code/Common/BaseProcess.cpp:44:
  .../build/assimp-5.1.0/include/assimp/Importer.hpp:522:11: error: 'exception_ptr' in namespace 'std' does not name a type
       const std::exception_ptr& GetException() const;
             ^

Signed-off-by: Peter Seiderer <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/assimp/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/package/assimp/Config.in b/package/assimp/Config.in
index c535240efc..833e559a6f 100644
--- a/package/assimp/Config.in
+++ b/package/assimp/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_ASSIMP
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on BR2_PACKAGE_LIBZLIB
+	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
 	help
 	  Open Asset Import Library (assimp) is a portable Open Source
 	  library to import various well-known 3D model formats in a
@@ -18,3 +19,6 @@ comment "assimp needs a toolchain w/ C++, wchar"
 
 comment "assimp needs libzlib"
 	depends on !BR2_PACKAGE_LIBZLIB
+
+comment "assimp needs exception_ptr"
+	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help