Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 1 | // (C) Copyright John Maddock 2011. |
| 2 | // Use, modification and distribution are subject to the |
| 3 | // Boost Software License, Version 1.0. (See accompanying file |
| 4 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | // See http://www.boost.org for most recent version. |
| 7 | |
| 8 | // Greenhills C compiler setup: |
| 9 | |
| 10 | #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) |
| 11 | |
| 12 | #if _RELEASE < 7 |
| 13 | # error "Boost is not configured for Cray compilers prior to version 7, please try the configure script." |
| 14 | #endif |
| 15 | |
| 16 | // |
| 17 | // Check this is a recent EDG based compiler, otherwise we don't support it here: |
| 18 | // |
| 19 | #ifndef __EDG_VERSION__ |
| 20 | # error "Unsupported Cray compiler, please try running the configure script." |
| 21 | #endif |
| 22 | |
Jeff Thompson | 2277ce5 | 2013-08-01 17:34:11 -0700 | [diff] [blame] | 23 | #include "ndnboost/config/compiler/common_edg.hpp" |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 24 | |
| 25 | // |
| 26 | // Cray peculiarities, probably version 7 specific: |
| 27 | // |
| 28 | #undef BOOST_NO_CXX11_AUTO_DECLARATIONS |
| 29 | #undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS |
| 30 | #define BOOST_HAS_NRVO |
| 31 | #define BOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 32 | #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX |
| 33 | #define BOOST_NO_CXX11_UNICODE_LITERALS |
| 34 | #define BOOST_NO_TWO_PHASE_NAME_LOOKUP |
| 35 | #define BOOST_HAS_NRVO |
| 36 | #define BOOST_NO_CXX11_TEMPLATE_ALIASES |
| 37 | #define BOOST_NO_CXX11_STATIC_ASSERT |
| 38 | #define BOOST_NO_SFINAE_EXPR |
| 39 | #define BOOST_NO_CXX11_SCOPED_ENUMS |
| 40 | #define BOOST_NO_CXX11_RVALUE_REFERENCES |
| 41 | #define BOOST_NO_CXX11_RANGE_BASED_FOR |
| 42 | #define BOOST_NO_CXX11_RAW_LITERALS |
| 43 | #define BOOST_NO_CXX11_NULLPTR |
| 44 | #define BOOST_NO_CXX11_NOEXCEPT |
| 45 | #define BOOST_NO_CXX11_LAMBDAS |
| 46 | #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS |
| 47 | #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS |
| 48 | #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS |
| 49 | #define BOOST_NO_CXX11_DELETED_FUNCTIONS |
| 50 | #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS |
| 51 | #define BOOST_NO_CXX11_DECLTYPE_N3276 |
| 52 | #define BOOST_NO_CXX11_DECLTYPE |
| 53 | #define BOOST_NO_CXX11_CONSTEXPR |
| 54 | #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION |
| 55 | #define BOOST_NO_CXX11_CHAR32_T |
| 56 | #define BOOST_NO_CXX11_CHAR16_T |
| 57 | //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG |
| 58 | #define BOOST_MATH_DISABLE_STD_FPCLASSIFY |
| 59 | //#define BOOST_HAS_FPCLASSIFY |
| 60 | |
| 61 | #define BOOST_SP_USE_PTHREADS |
| 62 | #define BOOST_AC_USE_PTHREADS |
| 63 | |