Skip to contentSkip to conversation

package/assimp: needs std::exception_ptr

PATCH Applied Peter Seiderer 2 participants 2 messages Dec 10, 2021 – Dec 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/assimp: needs std::exception_ptr

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;
             ^
---
 package/assimp/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/assimp/Config.in +4 -0
index c535240efc..833e559a6f 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 15 lines · Peter Seiderer

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;
              ^
Quoted 1 line

Applied to master, thanks.

Regards,
Arnout

Quoted 18 lines
---
  package/assimp/Config.in | 4 ++++
  1 file changed, 4 insertions(+)
package/assimp/Config.in +1 -0
index c535240efc..833e559a6f 100644
@@ -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

package/assimp/Config.in comment "assimp needs a toolchain w/ C++, wchar" · line 24

Quoted 6 lines
package/assimp/Config.in +3 -0
@@ -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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot