annotate DEPENDENCIES/generic/include/boost/config/compiler/vacpp.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 // (C) Copyright John Maddock 2001 - 2003.
Chris@16 2 // (C) Copyright Toon Knapen 2001 - 2003.
Chris@16 3 // (C) Copyright Lie-Quan Lee 2001.
Chris@16 4 // (C) Copyright Markus Schoepflin 2002 - 2003.
Chris@16 5 // (C) Copyright Beman Dawes 2002 - 2003.
Chris@16 6 // Use, modification and distribution are subject to the
Chris@16 7 // Boost Software License, Version 1.0. (See accompanying file
Chris@16 8 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Chris@16 9
Chris@16 10 // See http://www.boost.org for most recent version.
Chris@16 11
Chris@16 12 // Visual Age (IBM) C++ compiler setup:
Chris@16 13
Chris@16 14 #if __IBMCPP__ <= 501
Chris@16 15 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
Chris@16 16 # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
Chris@16 17 #endif
Chris@16 18
Chris@16 19 #if (__IBMCPP__ <= 502)
Chris@16 20 // Actually the compiler supports inclass member initialization but it
Chris@16 21 // requires a definition for the class member and it doesn't recognize
Chris@16 22 // it as an integral constant expression when used as a template argument.
Chris@16 23 # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
Chris@16 24 # define BOOST_NO_INTEGRAL_INT64_T
Chris@16 25 # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
Chris@16 26 #endif
Chris@16 27
Chris@16 28 #if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
Chris@16 29 # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
Chris@16 30 #endif
Chris@16 31
Chris@16 32 #if (__IBMCPP__ <= 1110)
Chris@16 33 // XL C++ V11.1 and earlier versions may not always value-initialize
Chris@16 34 // a temporary object T(), when T is a non-POD aggregate class type.
Chris@16 35 // Michael Wong (IBM Canada Ltd) has confirmed this issue and gave it
Chris@16 36 // high priority. -- Niels Dekker (LKEB), May 2010.
Chris@16 37 # define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
Chris@16 38 #endif
Chris@16 39
Chris@16 40 //
Chris@16 41 // On AIX thread support seems to be indicated by _THREAD_SAFE:
Chris@16 42 //
Chris@16 43 #ifdef _THREAD_SAFE
Chris@16 44 # define BOOST_HAS_THREADS
Chris@16 45 #endif
Chris@16 46
Chris@16 47 #define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
Chris@16 48
Chris@16 49 //
Chris@16 50 // versions check:
Chris@16 51 // we don't support Visual age prior to version 5:
Chris@16 52 #if __IBMCPP__ < 500
Chris@16 53 #error "Compiler not supported or configured - please reconfigure"
Chris@16 54 #endif
Chris@16 55 //
Chris@16 56 // last known and checked version is 1210:
Chris@16 57 #if (__IBMCPP__ > 1210)
Chris@16 58 # if defined(BOOST_ASSERT_CONFIG)
Chris@16 59 # error "Unknown compiler version - please run the configure tests and report the results"
Chris@16 60 # endif
Chris@16 61 #endif
Chris@16 62
Chris@16 63 // Some versions of the compiler have issues with default arguments on partial specializations
Chris@16 64 #if __IBMCPP__ <= 1010
Chris@16 65 #define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
Chris@16 66 #endif
Chris@16 67
Chris@16 68 //
Chris@16 69 // C++0x features
Chris@16 70 //
Chris@16 71 // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
Chris@16 72 //
Chris@16 73 #if ! __IBMCPP_AUTO_TYPEDEDUCTION
Chris@16 74 # define BOOST_NO_CXX11_AUTO_DECLARATIONS
Chris@16 75 # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
Chris@16 76 #endif
Chris@16 77 #if ! __IBMCPP_UTF_LITERAL__
Chris@16 78 # define BOOST_NO_CXX11_CHAR16_T
Chris@16 79 # define BOOST_NO_CXX11_CHAR32_T
Chris@16 80 #endif
Chris@16 81 #if ! __IBMCPP_CONSTEXPR
Chris@16 82 # define BOOST_NO_CXX11_CONSTEXPR
Chris@16 83 #endif
Chris@16 84 #if ! __IBMCPP_DECLTYPE
Chris@16 85 # define BOOST_NO_CXX11_DECLTYPE
Chris@16 86 #else
Chris@16 87 # define BOOST_HAS_DECLTYPE
Chris@16 88 #endif
Chris@16 89 #define BOOST_NO_CXX11_DECLTYPE_N3276
Chris@16 90 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
Chris@16 91 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
Chris@16 92 #if ! __IBMCPP_EXPLICIT_CONVERSION_OPERATORS
Chris@16 93 # define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
Chris@16 94 #endif
Chris@16 95 #if ! __IBMCPP_EXTERN_TEMPLATE
Chris@16 96 # define BOOST_NO_CXX11_EXTERN_TEMPLATE
Chris@16 97 #endif
Chris@16 98 #if ! __IBMCPP_VARIADIC_TEMPLATES
Chris@16 99 // not enabled separately at this time
Chris@16 100 # define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
Chris@16 101 #endif
Chris@16 102 #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
Chris@16 103 #define BOOST_NO_CXX11_LAMBDAS
Chris@16 104 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
Chris@16 105 #define BOOST_NO_CXX11_NOEXCEPT
Chris@16 106 #define BOOST_NO_CXX11_NULLPTR
Chris@16 107 #define BOOST_NO_CXX11_RANGE_BASED_FOR
Chris@16 108 #define BOOST_NO_CXX11_RAW_LITERALS
Chris@16 109 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
Chris@16 110 #if ! __IBMCPP_RVALUE_REFERENCES
Chris@16 111 # define BOOST_NO_CXX11_RVALUE_REFERENCES
Chris@16 112 #endif
Chris@16 113 #if ! __IBMCPP_SCOPED_ENUM
Chris@16 114 # define BOOST_NO_CXX11_SCOPED_ENUMS
Chris@16 115 #endif
Chris@16 116 #define BOOST_NO_SFINAE_EXPR
Chris@16 117 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
Chris@16 118 #if ! __IBMCPP_STATIC_ASSERT
Chris@16 119 # define BOOST_NO_CXX11_STATIC_ASSERT
Chris@16 120 #endif
Chris@16 121 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
Chris@16 122 #define BOOST_NO_CXX11_UNICODE_LITERALS
Chris@16 123 #if ! __IBMCPP_VARIADIC_TEMPLATES
Chris@16 124 # define BOOST_NO_CXX11_VARIADIC_TEMPLATES
Chris@16 125 #endif
Chris@16 126 #if ! __C99_MACRO_WITH_VA_ARGS
Chris@16 127 # define BOOST_NO_CXX11_VARIADIC_MACROS
Chris@16 128 #endif
Chris@16 129 #define BOOST_NO_CXX11_ALIGNAS
Chris@16 130 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
Chris@16 131 #define BOOST_NO_CXX11_INLINE_NAMESPACES
Chris@101 132 #define BOOST_NO_CXX11_REF_QUALIFIERS
Chris@101 133 #define BOOST_NO_CXX11_FINAL
Chris@101 134
Chris@101 135 // C++ 14:
Chris@101 136 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
Chris@101 137 # define BOOST_NO_CXX14_AGGREGATE_NSDMI
Chris@101 138 #endif
Chris@101 139 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
Chris@101 140 # define BOOST_NO_CXX14_BINARY_LITERALS
Chris@101 141 #endif
Chris@101 142 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
Chris@101 143 # define BOOST_NO_CXX14_CONSTEXPR
Chris@101 144 #endif
Chris@101 145 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
Chris@101 146 # define BOOST_NO_CXX14_DECLTYPE_AUTO
Chris@101 147 #endif
Chris@101 148 #if (__cplusplus < 201304) // There's no SD6 check for this....
Chris@101 149 # define BOOST_NO_CXX14_DIGIT_SEPARATORS
Chris@101 150 #endif
Chris@101 151 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
Chris@101 152 # define BOOST_NO_CXX14_GENERIC_LAMBDAS
Chris@101 153 #endif
Chris@101 154 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
Chris@101 155 # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
Chris@101 156 #endif
Chris@101 157 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
Chris@101 158 # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
Chris@101 159 #endif
Chris@101 160 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
Chris@101 161 # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
Chris@101 162 #endif