Hello,
I assume you’re using clang to compile SOFA.
This warning is due to a bug in boost when using BOOST_STATIC_ASSERT. It will be solved in boost 1.60.
If you want a temporary worckaround, you can set __GNUC_MINOR__ to at least 7 in your environment before compiling.
By default clang defines __GNUC__ to 4 and __GNUC_MINOR__ to 2.
Again with the next version of boost this will be solved.
Etienne.
//
// If the compiler warns about unused typedefs then enable this:
//
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)))
# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE __attribute__((unused))
#else
# define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE
#endif
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.