comparison DEPENDENCIES/generic/include/boost/config/compiler/sunpro_cc.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
84 # define BOOST_SYMBOL_EXPORT __global 84 # define BOOST_SYMBOL_EXPORT __global
85 # define BOOST_SYMBOL_IMPORT __global 85 # define BOOST_SYMBOL_IMPORT __global
86 # define BOOST_SYMBOL_VISIBLE __global 86 # define BOOST_SYMBOL_VISIBLE __global
87 #endif 87 #endif
88 88
89 #if (__SUNPRO_CC < 0x5130)
90 // C++03 features in 12.4:
91 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
92 #define BOOST_NO_SFINAE_EXPR
93 #define BOOST_NO_ADL_BARRIER
94 #define BOOST_NO_CXX11_VARIADIC_MACROS
95 #endif
89 96
90 97 #if (__SUNPRO_CC < 0x5130) || (__cplusplus < 201100)
91 // 98 // C++11 only featuires in 12.4:
92 // Issues that effect all known versions:
93 //
94 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
95 #define BOOST_NO_ADL_BARRIER
96
97 //
98 // C++0x features
99 //
100 # define BOOST_HAS_LONG_LONG
101
102 #define BOOST_NO_CXX11_AUTO_DECLARATIONS 99 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
103 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS 100 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
104 #define BOOST_NO_CXX11_CHAR16_T 101 #define BOOST_NO_CXX11_CHAR16_T
105 #define BOOST_NO_CXX11_CHAR32_T 102 #define BOOST_NO_CXX11_CHAR32_T
106 #define BOOST_NO_CXX11_CONSTEXPR 103 #define BOOST_NO_CXX11_CONSTEXPR
107 #define BOOST_NO_CXX11_DECLTYPE 104 #define BOOST_NO_CXX11_DECLTYPE
108 #define BOOST_NO_CXX11_DECLTYPE_N3276
109 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS 105 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
110 #define BOOST_NO_CXX11_DELETED_FUNCTIONS 106 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
111 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS 107 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
112 #define BOOST_NO_CXX11_EXTERN_TEMPLATE 108 #define BOOST_NO_CXX11_EXTERN_TEMPLATE
113 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS 109 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
118 #define BOOST_NO_CXX11_NULLPTR 114 #define BOOST_NO_CXX11_NULLPTR
119 #define BOOST_NO_CXX11_RANGE_BASED_FOR 115 #define BOOST_NO_CXX11_RANGE_BASED_FOR
120 #define BOOST_NO_CXX11_RAW_LITERALS 116 #define BOOST_NO_CXX11_RAW_LITERALS
121 #define BOOST_NO_CXX11_RVALUE_REFERENCES 117 #define BOOST_NO_CXX11_RVALUE_REFERENCES
122 #define BOOST_NO_CXX11_SCOPED_ENUMS 118 #define BOOST_NO_CXX11_SCOPED_ENUMS
123 #define BOOST_NO_SFINAE_EXPR
124 #define BOOST_NO_CXX11_STATIC_ASSERT 119 #define BOOST_NO_CXX11_STATIC_ASSERT
125 #define BOOST_NO_CXX11_TEMPLATE_ALIASES 120 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
126 #define BOOST_NO_CXX11_UNICODE_LITERALS 121 #define BOOST_NO_CXX11_UNICODE_LITERALS
127 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
128 #define BOOST_NO_CXX11_VARIADIC_MACROS
129 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
130 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
131 #define BOOST_NO_CXX11_ALIGNAS 122 #define BOOST_NO_CXX11_ALIGNAS
132 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES 123 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
133 #define BOOST_NO_CXX11_INLINE_NAMESPACES 124 #define BOOST_NO_CXX11_INLINE_NAMESPACES
125 #define BOOST_NO_CXX11_FINAL
126 #endif
134 127
128 //
129 // Issues that effect all known versions:
130 //
131 // Variadic templates pass our test case, but enabling this
132 // causes the compiler to issue a signal 11 and bail out
133 // in various libraries. The others fail our test cases.
134 //
135 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
136 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
137 #define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS
138 #define BOOST_NO_CXX11_DECLTYPE_N3276
139 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
140 #define BOOST_NO_CXX11_REF_QUALIFIERS
141 #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
142 //
143 // C++0x features
144 //
145 # define BOOST_HAS_LONG_LONG
146
147
148 // C++ 14:
149 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
150 # define BOOST_NO_CXX14_AGGREGATE_NSDMI
151 #endif
152 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
153 # define BOOST_NO_CXX14_BINARY_LITERALS
154 #endif
155 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
156 # define BOOST_NO_CXX14_CONSTEXPR
157 #endif
158 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
159 # define BOOST_NO_CXX14_DECLTYPE_AUTO
160 #endif
161 #if (__cplusplus < 201304) // There's no SD6 check for this....
162 # define BOOST_NO_CXX14_DIGIT_SEPARATORS
163 #endif
164 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
165 # define BOOST_NO_CXX14_GENERIC_LAMBDAS
166 #endif
167 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
168 # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
169 #endif
170 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
171 # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
172 #endif
173 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
174 # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
175 #endif
135 // 176 //
136 // Version 177 // Version
137 // 178 //
138 179
139 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC) 180 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)