Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:44:41

0001 //  (C) Copyright John Maddock 2001 - 2002.
0002 //  (C) Copyright Aleksey Gurtovoy 2002.
0003 //  Use, modification and distribution are subject to the
0004 //  Boost Software License, Version 1.0. (See accompanying file
0005 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 //  See http://www.boost.org for most recent version.
0008 
0009 //  MPW C++ compilers setup:
0010 
0011 #   if    defined(__SC__)
0012 #     define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__)
0013 #   elif defined(__MRC__)
0014 #     define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__)
0015 #   else
0016 #     error "Using MPW compiler configuration by mistake.  Please update."
0017 #   endif
0018 
0019 //
0020 // MPW 8.90:
0021 //
0022 #if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG)
0023 #  define BOOST_NO_CV_SPECIALIZATIONS
0024 #  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
0025 #  define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
0026 #  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
0027 #  define BOOST_NO_INTRINSIC_WCHAR_T
0028 #  define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
0029 #  define BOOST_NO_USING_TEMPLATE
0030 
0031 #  define BOOST_NO_CWCHAR
0032 #  define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
0033 
0034 #  define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
0035 
0036 #endif
0037 
0038 //
0039 // C++0x features
0040 //
0041 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
0042 //
0043 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
0044 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
0045 #define BOOST_NO_CXX11_CHAR16_T
0046 #define BOOST_NO_CXX11_CHAR32_T
0047 #define BOOST_NO_CXX11_CONSTEXPR
0048 #define BOOST_NO_CXX11_DECLTYPE
0049 #define BOOST_NO_CXX11_DECLTYPE_N3276
0050 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
0051 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
0052 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
0053 #define BOOST_NO_CXX11_EXTERN_TEMPLATE
0054 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
0055 #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
0056 #define BOOST_NO_CXX11_LAMBDAS
0057 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
0058 #define BOOST_NO_CXX11_NOEXCEPT
0059 #define BOOST_NO_CXX11_NULLPTR
0060 #define BOOST_NO_CXX11_RANGE_BASED_FOR
0061 #define BOOST_NO_CXX11_RAW_LITERALS
0062 #define BOOST_NO_CXX11_RVALUE_REFERENCES
0063 #define BOOST_NO_CXX11_SCOPED_ENUMS
0064 #define BOOST_NO_SFINAE_EXPR
0065 #define BOOST_NO_CXX11_SFINAE_EXPR
0066 #define BOOST_NO_CXX11_STATIC_ASSERT
0067 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
0068 #define BOOST_NO_CXX11_UNICODE_LITERALS
0069 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
0070 #define BOOST_NO_CXX11_VARIADIC_MACROS
0071 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
0072 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
0073 #define BOOST_NO_CXX11_ALIGNAS
0074 #define BOOST_NO_CXX11_ALIGNOF
0075 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
0076 #define BOOST_NO_CXX11_INLINE_NAMESPACES
0077 #define BOOST_NO_CXX11_REF_QUALIFIERS
0078 #define BOOST_NO_CXX11_FINAL
0079 #define BOOST_NO_CXX11_OVERRIDE
0080 #define BOOST_NO_CXX11_THREAD_LOCAL
0081 #define BOOST_NO_CXX11_UNRESTRICTED_UNION
0082 
0083 // C++ 14:
0084 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
0085 #  define BOOST_NO_CXX14_AGGREGATE_NSDMI
0086 #endif
0087 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
0088 #  define BOOST_NO_CXX14_BINARY_LITERALS
0089 #endif
0090 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
0091 #  define BOOST_NO_CXX14_CONSTEXPR
0092 #endif
0093 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
0094 #  define BOOST_NO_CXX14_DECLTYPE_AUTO
0095 #endif
0096 #if (__cplusplus < 201304) // There's no SD6 check for this....
0097 #  define BOOST_NO_CXX14_DIGIT_SEPARATORS
0098 #endif
0099 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
0100 #  define BOOST_NO_CXX14_GENERIC_LAMBDAS
0101 #endif
0102 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
0103 #  define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
0104 #endif
0105 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
0106 #  define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
0107 #endif
0108 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
0109 #  define BOOST_NO_CXX14_VARIABLE_TEMPLATES
0110 #endif
0111 
0112 // C++17
0113 #if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606)
0114 #  define BOOST_NO_CXX17_STRUCTURED_BINDINGS
0115 #endif
0116 #if !defined(__cpp_inline_variables) || (__cpp_inline_variables < 201606)
0117 #  define BOOST_NO_CXX17_INLINE_VARIABLES
0118 #endif
0119 #if !defined(__cpp_fold_expressions) || (__cpp_fold_expressions < 201603)
0120 #  define BOOST_NO_CXX17_FOLD_EXPRESSIONS
0121 #endif
0122 #if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606)
0123 #  define BOOST_NO_CXX17_IF_CONSTEXPR
0124 #endif
0125 #if !defined(__cpp_nontype_template_parameter_auto) || (__cpp_nontype_template_parameter_auto < 201606)
0126 #  define BOOST_NO_CXX17_AUTO_NONTYPE_TEMPLATE_PARAMS
0127 #endif
0128 
0129 //
0130 // versions check:
0131 // we don't support MPW prior to version 8.9:
0132 #if MPW_CPLUS < 0x890
0133 #  error "Compiler not supported or configured - please reconfigure"
0134 #endif
0135 //
0136 // last known and checked version is 0x890:
0137 #if (MPW_CPLUS > 0x890)
0138 #  if defined(BOOST_ASSERT_CONFIG)
0139 #     error "boost: Unknown compiler version - please run the configure tests and report the results"
0140 #  endif
0141 #endif
0142 
0143