Chris@16
|
1 // (C) Copyright John Maddock 2011.
|
Chris@101
|
2 // (C) Copyright Cray, Inc. 2013
|
Chris@16
|
3 // Use, modification and distribution are subject to the
|
Chris@16
|
4 // Boost Software License, Version 1.0. (See accompanying file
|
Chris@16
|
5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6
|
Chris@16
|
7 // See http://www.boost.org for most recent version.
|
Chris@16
|
8
|
Chris@16
|
9 // Greenhills C compiler setup:
|
Chris@16
|
10
|
Chris@16
|
11 #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE)
|
Chris@16
|
12
|
Chris@101
|
13 #if _RELEASE < 8
|
Chris@101
|
14 # error "Boost is not configured for Cray compilers prior to version 8, please try the configure script."
|
Chris@16
|
15 #endif
|
Chris@16
|
16
|
Chris@16
|
17 //
|
Chris@16
|
18 // Check this is a recent EDG based compiler, otherwise we don't support it here:
|
Chris@16
|
19 //
|
Chris@16
|
20 #ifndef __EDG_VERSION__
|
Chris@16
|
21 # error "Unsupported Cray compiler, please try running the configure script."
|
Chris@16
|
22 #endif
|
Chris@16
|
23
|
Chris@16
|
24 #include "boost/config/compiler/common_edg.hpp"
|
Chris@16
|
25
|
Chris@101
|
26
|
Chris@16
|
27 //
|
Chris@16
|
28 //
|
Chris@101
|
29 #define BOOST_NO_CXX11_STATIC_ASSERT
|
Chris@101
|
30 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
|
Chris@101
|
31 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
Chris@16
|
32 #define BOOST_HAS_NRVO
|
Chris@101
|
33 #define BOOST_NO_CXX11_VARIADIC_MACROS
|
Chris@16
|
34 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
Chris@16
|
35 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
Chris@16
|
36 #define BOOST_NO_CXX11_UNICODE_LITERALS
|
Chris@16
|
37 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
Chris@16
|
38 #define BOOST_HAS_NRVO
|
Chris@16
|
39 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
|
Chris@16
|
40 #define BOOST_NO_CXX11_STATIC_ASSERT
|
Chris@16
|
41 #define BOOST_NO_SFINAE_EXPR
|
Chris@16
|
42 #define BOOST_NO_CXX11_SCOPED_ENUMS
|
Chris@16
|
43 #define BOOST_NO_CXX11_RVALUE_REFERENCES
|
Chris@16
|
44 #define BOOST_NO_CXX11_RANGE_BASED_FOR
|
Chris@16
|
45 #define BOOST_NO_CXX11_RAW_LITERALS
|
Chris@16
|
46 #define BOOST_NO_CXX11_NULLPTR
|
Chris@16
|
47 #define BOOST_NO_CXX11_NOEXCEPT
|
Chris@16
|
48 #define BOOST_NO_CXX11_LAMBDAS
|
Chris@16
|
49 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
Chris@16
|
50 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
Chris@16
|
51 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
Chris@16
|
52 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
Chris@16
|
53 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
Chris@16
|
54 #define BOOST_NO_CXX11_DECLTYPE_N3276
|
Chris@16
|
55 #define BOOST_NO_CXX11_DECLTYPE
|
Chris@16
|
56 #define BOOST_NO_CXX11_CONSTEXPR
|
Chris@16
|
57 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
Chris@16
|
58 #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
|
Chris@16
|
59 #define BOOST_NO_CXX11_CHAR32_T
|
Chris@16
|
60 #define BOOST_NO_CXX11_CHAR16_T
|
Chris@101
|
61 #define BOOST_NO_CXX11_REF_QUALIFIERS
|
Chris@101
|
62 #define BOOST_NO_CXX11_FINAL
|
Chris@101
|
63
|
Chris@101
|
64
|
Chris@16
|
65 //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
|
Chris@16
|
66 #define BOOST_MATH_DISABLE_STD_FPCLASSIFY
|
Chris@16
|
67 //#define BOOST_HAS_FPCLASSIFY
|
Chris@16
|
68
|
Chris@101
|
69 #define BOOST_SP_USE_PTHREADS
|
Chris@101
|
70 #define BOOST_AC_USE_PTHREADS
|
Chris@16
|
71
|
Chris@101
|
72 /* everything that follows is working around what are thought to be
|
Chris@101
|
73 * compiler shortcomings. Revist all of these regularly.
|
Chris@101
|
74 */
|
Chris@101
|
75
|
Chris@101
|
76 //#define BOOST_USE_ENUM_STATIC_ASSERT
|
Chris@101
|
77 //#define BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS //(this may be implied by the previous #define
|
Chris@101
|
78
|
Chris@101
|
79 // These constants should be provided by the
|
Chris@101
|
80 // compiler, at least when -hgnu is asserted on the command line.
|
Chris@101
|
81
|
Chris@101
|
82 #ifndef __ATOMIC_RELAXED
|
Chris@101
|
83 #define __ATOMIC_RELAXED 0
|
Chris@101
|
84 #define __ATOMIC_CONSUME 1
|
Chris@101
|
85 #define __ATOMIC_ACQUIRE 2
|
Chris@101
|
86 #define __ATOMIC_RELEASE 3
|
Chris@101
|
87 #define __ATOMIC_ACQ_REL 4
|
Chris@101
|
88 #define __ATOMIC_SEQ_CST 5
|
Chris@101
|
89 #endif
|
Chris@101
|
90
|
Chris@101
|
91
|
Chris@101
|
92
|