From 7c5def9d399fc589b9b0fe8797f7aabfc52cd959 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Mon, 29 Oct 2018 12:25:55 +0300 Subject: [PATCH] Disable Boost.Multiprecision tests for gcc 4.7 in C++11 mode. The compiler fails in Boost.TypeTraits which is used in Boost.Multiprecision. --- test/common_factor_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/common_factor_test.cpp b/test/common_factor_test.cpp index fa12338..b54919e 100644 --- a/test/common_factor_test.cpp +++ b/test/common_factor_test.cpp @@ -34,7 +34,9 @@ #include #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 #endif