Disable Boost.Multiprecision tests for gcc 4.7 in C++11 mode.

The compiler fails in Boost.TypeTraits which is used in Boost.Multiprecision.
This commit is contained in:
Andrey Semashev
2018-10-29 12:25:55 +03:00
parent 791a139a51
commit 7c5def9d39

View File

@ -34,7 +34,9 @@
#include <gmpxx.h> #include <gmpxx.h>
#endif #endif
#if (defined(BOOST_MSVC) && (BOOST_MSVC < 1500)) || (defined(__clang_major__) && (__clang_major__ == 3) && (__clang_minor__ < 2)) #if (defined(BOOST_MSVC) && (BOOST_MSVC < 1500)) || \
(defined(__clang_major__) && (__clang_major__ == 3) && (__clang_minor__ < 2)) || \
(defined(BOOST_GCC) && defined(BOOST_GCC_CXX11) && BOOST_GCC < 40800)
#define DISABLE_MP_TESTS #define DISABLE_MP_TESTS
#endif #endif