Set more macros in 'cray.hpp'

This commit is contained in:
Justin LaPolla
2017-12-15 09:11:19 -06:00
parent 026ebd864e
commit ea46cf5332

View File

@ -64,12 +64,12 @@
// //
// http://www.boost.org/doc/libs/master/libs/config/doc/html/boost_config/boost_macro_reference.html // http://www.boost.org/doc/libs/master/libs/config/doc/html/boost_config/boost_macro_reference.html
// //
// Typically, defining a 'BOOST_NO_*' macro disables some feature, and // Typically, if you enable a feature, and the tests pass, then you have
// undefining the macro enables the feature. If a feature is enabled, and // nothing to worry about. However, it's sometimes hard to figure out if a
// the tests are passing, then you probably do not need to revisit it. // disabled feature needs to stay disabled. To get a list of disabled
// However, if you have disabled a feature, you may want to try enabling // features, run 'b2' in 'boost/libs/config/check'. These are the macros
// it, even if the '_fail.cpp' tests are passing, because sometimes the // you should pay attention to (in addition to macros that cause test
// '_fail.cpp' tests are broken. // failures).
//// ////
//// Front matter //// Front matter
@ -275,8 +275,16 @@
#endif // __cplusplus >= 201103L #endif // __cplusplus >= 201103L
#if __cplusplus >= 201402L #if __cplusplus >= 201402L
#undef BOOST_HAS_INT128
#undef BOOST_HAS_MACRO_USE_FACET
#undef BOOST_HAS_MS_INT64
#undef BOOST_HAS_SGI_TYPE_TRAITS
#undef BOOST_HAS_STLP_USE_FACET
#undef BOOST_HAS_TWO_ARG_USE_FACET
#undef BOOST_MSVC_STD_ITERATOR
#define BOOST_NO_COMPLETE_VALUE_INITIALIZATION // This is correct. Test compiles, but fails to run. #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION // This is correct. Test compiles, but fails to run.
#undef BOOST_NO_CXX11_ALIGNAS #undef BOOST_NO_CXX11_ALIGNAS
#define BOOST_NO_CXX11_HDR_ATOMIC
#undef BOOST_NO_CXX11_HDR_FUNCTIONAL #undef BOOST_NO_CXX11_HDR_FUNCTIONAL
#define BOOST_NO_CXX11_HDR_REGEX // This is correct. Test compiles, but fails to run. #define BOOST_NO_CXX11_HDR_REGEX // This is correct. Test compiles, but fails to run.
#undef BOOST_NO_CXX11_INLINE_NAMESPACES #undef BOOST_NO_CXX11_INLINE_NAMESPACES
@ -298,6 +306,7 @@
// you have to modify 'no_ded_typename_pass.cpp' to unconditionally include // you have to modify 'no_ded_typename_pass.cpp' to unconditionally include
// 'boost_no_ded_typename.ipp'. // 'boost_no_ded_typename.ipp'.
#undef BOOST_NO_DEDUCED_TYPENAME // This is correct. Test is broken. #undef BOOST_NO_DEDUCED_TYPENAME // This is correct. Test is broken.
#define BOOST_NO_MS_INT64_NUMERIC_LIMITS // This is also defined in 'boost/libs/config/include/boost/config/detail/suffix.hpp'. Changing it here has no effect.
#endif // __cplusplus == 201402L #endif // __cplusplus == 201402L
#endif // BOOST_CRAY_VERSION >= 80605 #endif // BOOST_CRAY_VERSION >= 80605