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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 10 | #define NDNBOOST_COMPILER "Cray C version " NDNBOOST_STRINGIZE(_RELEASE) |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 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 | // |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 28 | #undef NDNBOOST_NO_CXX11_AUTO_DECLARATIONS |
| 29 | #undef NDNBOOST_NO_CXX11_AUTO_MULTIDECLARATIONS |
| 30 | #define NDNBOOST_HAS_NRVO |
| 31 | #define NDNBOOST_NO_CXX11_VARIADIC_TEMPLATES |
| 32 | #define NDNBOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX |
| 33 | #define NDNBOOST_NO_CXX11_UNICODE_LITERALS |
| 34 | #define NDNBOOST_NO_TWO_PHASE_NAME_LOOKUP |
| 35 | #define NDNBOOST_HAS_NRVO |
| 36 | #define NDNBOOST_NO_CXX11_TEMPLATE_ALIASES |
| 37 | #define NDNBOOST_NO_CXX11_STATIC_ASSERT |
| 38 | #define NDNBOOST_NO_SFINAE_EXPR |
| 39 | #define NDNBOOST_NO_CXX11_SCOPED_ENUMS |
| 40 | #define NDNBOOST_NO_CXX11_RVALUE_REFERENCES |
| 41 | #define NDNBOOST_NO_CXX11_RANGE_BASED_FOR |
| 42 | #define NDNBOOST_NO_CXX11_RAW_LITERALS |
| 43 | #define NDNBOOST_NO_CXX11_NULLPTR |
| 44 | #define NDNBOOST_NO_CXX11_NOEXCEPT |
| 45 | #define NDNBOOST_NO_CXX11_LAMBDAS |
| 46 | #define NDNBOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS |
| 47 | #define NDNBOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS |
| 48 | #define NDNBOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS |
| 49 | #define NDNBOOST_NO_CXX11_DELETED_FUNCTIONS |
| 50 | #define NDNBOOST_NO_CXX11_DEFAULTED_FUNCTIONS |
| 51 | #define NDNBOOST_NO_CXX11_DECLTYPE_N3276 |
| 52 | #define NDNBOOST_NO_CXX11_DECLTYPE |
| 53 | #define NDNBOOST_NO_CXX11_CONSTEXPR |
| 54 | #define NDNBOOST_NO_CXX11_USER_DEFINED_LITERALS |
| 55 | #define NDNBOOST_NO_COMPLETE_VALUE_INITIALIZATION |
| 56 | #define NDNBOOST_NO_CXX11_CHAR32_T |
| 57 | #define NDNBOOST_NO_CXX11_CHAR16_T |
| 58 | //#define NDNBOOST_BCB_PARTIAL_SPECIALIZATION_BUG |
| 59 | #define NDNBOOST_MATH_DISABLE_STD_FPCLASSIFY |
| 60 | //#define NDNBOOST_HAS_FPCLASSIFY |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 61 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 62 | #define NDNBOOST_SP_USE_PTHREADS |
| 63 | #define NDNBOOST_AC_USE_PTHREADS |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 64 | |