From 76ee8244df64aaa1805a6d2994770008cad4b5b7 Mon Sep 17 00:00:00 2001 From: Justin LaPolla Date: Tue, 12 Dec 2017 14:27:35 -0600 Subject: [PATCH] Fix 'cray.hpp' for C++11 version 8.6.5 - All tests pass except that one about 'qnan' (described in the last commit). The test command line is: `b2 -q toolset=craype cxxstd=11 cxxstd-dialect=gnu`. --- include/boost/config/compiler/cray.hpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/cray.hpp b/include/boost/config/compiler/cray.hpp index 217007fc..2f0a5f64 100644 --- a/include/boost/config/compiler/cray.hpp +++ b/include/boost/config/compiler/cray.hpp @@ -222,13 +222,16 @@ #if BOOST_CRAY_VERSION >= 80605 -#if __cplusplus == 201402L +#if __cplusplus >= 201103L #define BOOST_NO_CXX11_HDR_ATOMIC #define BOOST_NO_CXX11_HDR_REGEX +#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION +#endif // __cplusplus >= 201103L + +#if __cplusplus >= 201402L #define BOOST_NO_CXX11_HDR_TYPEINDEX #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS #define BOOST_NO_CXX14_DIGIT_SEPARATORS -#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION #define BOOST_NO_TEMPLATE_TEMPLATES #endif // __cplusplus == 201402L