Chris@16
|
1 // (C) Copyright John Maddock 2006.
|
Chris@16
|
2 // Use, modification and distribution are subject to the
|
Chris@16
|
3 // Boost Software License, Version 1.0. (See accompanying file
|
Chris@16
|
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
5
|
Chris@16
|
6 // See http://www.boost.org for most recent version.
|
Chris@16
|
7
|
Chris@16
|
8 // GCC-XML C++ compiler setup:
|
Chris@16
|
9
|
Chris@16
|
10 # if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3))
|
Chris@16
|
11 # define BOOST_NO_IS_ABSTRACT
|
Chris@16
|
12 # endif
|
Chris@16
|
13
|
Chris@16
|
14 //
|
Chris@16
|
15 // Threading support: Turn this on unconditionally here (except for
|
Chris@16
|
16 // those platforms where we can know for sure). It will get turned off again
|
Chris@16
|
17 // later if no threading API is detected.
|
Chris@16
|
18 //
|
Chris@16
|
19 #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
|
Chris@16
|
20 # define BOOST_HAS_THREADS
|
Chris@16
|
21 #endif
|
Chris@16
|
22
|
Chris@16
|
23 //
|
Chris@16
|
24 // gcc has "long long"
|
Chris@16
|
25 //
|
Chris@16
|
26 #define BOOST_HAS_LONG_LONG
|
Chris@16
|
27
|
Chris@16
|
28 // C++0x features:
|
Chris@16
|
29 //
|
Chris@16
|
30 # define BOOST_NO_CXX11_CONSTEXPR
|
Chris@16
|
31 # define BOOST_NO_CXX11_NULLPTR
|
Chris@16
|
32 # define BOOST_NO_CXX11_TEMPLATE_ALIASES
|
Chris@16
|
33 # define BOOST_NO_CXX11_DECLTYPE
|
Chris@16
|
34 # define BOOST_NO_CXX11_DECLTYPE_N3276
|
Chris@16
|
35 # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
Chris@16
|
36 # define BOOST_NO_CXX11_RVALUE_REFERENCES
|
Chris@16
|
37 # define BOOST_NO_CXX11_STATIC_ASSERT
|
Chris@16
|
38 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
Chris@16
|
39 # define BOOST_NO_CXX11_VARIADIC_MACROS
|
Chris@16
|
40 # define BOOST_NO_CXX11_AUTO_DECLARATIONS
|
Chris@16
|
41 # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
Chris@16
|
42 # define BOOST_NO_CXX11_CHAR16_T
|
Chris@16
|
43 # define BOOST_NO_CXX11_CHAR32_T
|
Chris@16
|
44 # define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
Chris@16
|
45 # define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
Chris@16
|
46 # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
|
Chris@16
|
47 # define BOOST_NO_CXX11_SCOPED_ENUMS
|
Chris@16
|
48 # define BOOST_NO_SFINAE_EXPR
|
Chris@16
|
49 # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
Chris@16
|
50 # define BOOST_NO_CXX11_LAMBDAS
|
Chris@16
|
51 # define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
Chris@16
|
52 # define BOOST_NO_CXX11_RANGE_BASED_FOR
|
Chris@16
|
53 # define BOOST_NO_CXX11_RAW_LITERALS
|
Chris@16
|
54 # define BOOST_NO_CXX11_UNICODE_LITERALS
|
Chris@16
|
55 # define BOOST_NO_CXX11_NOEXCEPT
|
Chris@16
|
56 # define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
Chris@16
|
57 # define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
Chris@16
|
58 # define BOOST_NO_CXX11_ALIGNAS
|
Chris@16
|
59 # define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
Chris@16
|
60 # define BOOST_NO_CXX11_INLINE_NAMESPACES
|
Chris@101
|
61 # define BOOST_NO_CXX11_REF_QUALIFIERS
|
Chris@101
|
62 #define BOOST_NO_CXX11_FINAL
|
Chris@101
|
63
|
Chris@101
|
64 // C++ 14:
|
Chris@101
|
65 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
|
Chris@101
|
66 # define BOOST_NO_CXX14_AGGREGATE_NSDMI
|
Chris@101
|
67 #endif
|
Chris@101
|
68 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
|
Chris@101
|
69 # define BOOST_NO_CXX14_BINARY_LITERALS
|
Chris@101
|
70 #endif
|
Chris@101
|
71 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
|
Chris@101
|
72 # define BOOST_NO_CXX14_CONSTEXPR
|
Chris@101
|
73 #endif
|
Chris@101
|
74 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
|
Chris@101
|
75 # define BOOST_NO_CXX14_DECLTYPE_AUTO
|
Chris@101
|
76 #endif
|
Chris@101
|
77 #if (__cplusplus < 201304) // There's no SD6 check for this....
|
Chris@101
|
78 # define BOOST_NO_CXX14_DIGIT_SEPARATORS
|
Chris@101
|
79 #endif
|
Chris@101
|
80 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
|
Chris@101
|
81 # define BOOST_NO_CXX14_GENERIC_LAMBDAS
|
Chris@101
|
82 #endif
|
Chris@101
|
83 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
|
Chris@101
|
84 # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
|
Chris@101
|
85 #endif
|
Chris@101
|
86 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
|
Chris@101
|
87 # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
|
Chris@101
|
88 #endif
|
Chris@101
|
89 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
|
Chris@101
|
90 # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
|
Chris@101
|
91 #endif
|
Chris@16
|
92
|
Chris@16
|
93 #define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__
|
Chris@16
|
94
|
Chris@16
|
95
|