annotate DEPENDENCIES/generic/include/boost/config/compiler/pgi.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 Noel Belcourt 2007.
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 // PGI C++ compiler setup:
Chris@16 9
Chris@16 10 #define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
Chris@16 11 #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
Chris@16 12
Chris@16 13 //
Chris@16 14 // Threading support:
Chris@16 15 // Turn this on unconditionally here, it will get turned off again later
Chris@16 16 // if no threading API is detected.
Chris@16 17 //
Chris@16 18
Chris@16 19 #if __PGIC__ >= 11
Chris@16 20
Chris@16 21 // options requested by configure --enable-test
Chris@16 22 #define BOOST_HAS_PTHREADS
Chris@16 23 #define BOOST_HAS_THREADS
Chris@16 24 #define BOOST_HAS_PTHREAD_YIELD
Chris@16 25 #define BOOST_HAS_NRVO
Chris@16 26 #define BOOST_HAS_LONG_LONG
Chris@16 27
Chris@16 28 // options --enable-test wants undefined
Chris@16 29 #undef BOOST_NO_STDC_NAMESPACE
Chris@16 30 #undef BOOST_NO_EXCEPTION_STD_NAMESPACE
Chris@16 31 #undef BOOST_DEDUCED_TYPENAME
Chris@16 32
Chris@16 33 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
Chris@16 34 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
Chris@16 35 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
Chris@16 36 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
Chris@16 37
Chris@16 38 #elif __PGIC__ >= 10
Chris@16 39
Chris@16 40 // options requested by configure --enable-test
Chris@16 41 #define BOOST_HAS_THREADS
Chris@16 42 #define BOOST_HAS_NRVO
Chris@16 43 #define BOOST_HAS_LONG_LONG
Chris@16 44 #if defined(linux) || defined(__linux) || defined(__linux__)
Chris@16 45 # define BOOST_HAS_STDINT_H
Chris@16 46 #endif
Chris@16 47
Chris@16 48 // options --enable-test wants undefined
Chris@16 49 #undef BOOST_NO_STDC_NAMESPACE
Chris@16 50 #undef BOOST_NO_EXCEPTION_STD_NAMESPACE
Chris@16 51 #undef BOOST_DEDUCED_TYPENAME
Chris@16 52
Chris@16 53 #elif __PGIC__ >= 7
Chris@16 54
Chris@16 55 #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
Chris@16 56 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
Chris@16 57 #define BOOST_NO_SWPRINTF
Chris@16 58 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
Chris@16 59 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
Chris@16 60
Chris@16 61 #else
Chris@16 62
Chris@16 63 # error "Pgi compiler not configured - please reconfigure"
Chris@16 64
Chris@16 65 #endif
Chris@16 66 //
Chris@16 67 // C++0x features
Chris@16 68 //
Chris@16 69 // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
Chris@16 70 //
Chris@16 71 #define BOOST_NO_CXX11_CHAR16_T
Chris@16 72 #define BOOST_NO_CXX11_CHAR32_T
Chris@16 73 #define BOOST_NO_CXX11_CONSTEXPR
Chris@16 74 #define BOOST_NO_CXX11_DECLTYPE
Chris@16 75 #define BOOST_NO_CXX11_DECLTYPE_N3276
Chris@16 76 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
Chris@16 77 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
Chris@16 78 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
Chris@16 79 #define BOOST_NO_CXX11_EXTERN_TEMPLATE
Chris@16 80 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
Chris@16 81 #define BOOST_NO_CXX11_LAMBDAS
Chris@16 82 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
Chris@16 83 #define BOOST_NO_CXX11_NOEXCEPT
Chris@16 84 #define BOOST_NO_CXX11_NULLPTR
Chris@16 85 #define BOOST_NO_CXX11_NUMERIC_LIMITS
Chris@16 86 #define BOOST_NO_CXX11_RANGE_BASED_FOR
Chris@16 87 #define BOOST_NO_CXX11_RAW_LITERALS
Chris@16 88 #define BOOST_NO_CXX11_RVALUE_REFERENCES
Chris@16 89 #define BOOST_NO_CXX11_SCOPED_ENUMS
Chris@16 90 #define BOOST_NO_SFINAE_EXPR
Chris@16 91 #define BOOST_NO_CXX11_STATIC_ASSERT
Chris@16 92 #define BOOST_NO_SWPRINTF
Chris@16 93 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
Chris@16 94 #define BOOST_NO_CXX11_UNICODE_LITERALS
Chris@16 95 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
Chris@16 96 #define BOOST_NO_CXX11_VARIADIC_MACROS
Chris@16 97 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
Chris@16 98
Chris@16 99 #define BOOST_NO_CXX11_HDR_UNORDERED_SET
Chris@16 100 #define BOOST_NO_CXX11_HDR_UNORDERED_MAP
Chris@16 101 #define BOOST_NO_CXX11_HDR_TYPEINDEX
Chris@16 102 #define BOOST_NO_CXX11_HDR_TYPE_TRAITS
Chris@16 103 #define BOOST_NO_CXX11_HDR_TUPLE
Chris@16 104 #define BOOST_NO_CXX11_HDR_THREAD
Chris@16 105 #define BOOST_NO_CXX11_HDR_SYSTEM_ERROR
Chris@16 106 #define BOOST_NO_CXX11_HDR_REGEX
Chris@16 107 #define BOOST_NO_CXX11_HDR_RATIO
Chris@16 108 #define BOOST_NO_CXX11_HDR_RANDOM
Chris@16 109 #define BOOST_NO_CXX11_HDR_MUTEX
Chris@16 110 #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
Chris@16 111 #define BOOST_NO_CXX11_HDR_FUTURE
Chris@16 112 #define BOOST_NO_CXX11_HDR_FORWARD_LIST
Chris@16 113 #define BOOST_NO_CXX11_HDR_CONDITION_VARIABLE
Chris@16 114 #define BOOST_NO_CXX11_HDR_CODECVT
Chris@16 115 #define BOOST_NO_CXX11_HDR_CHRONO
Chris@16 116 #define BOOST_NO_CXX11_HDR_ARRAY
Chris@16 117 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
Chris@16 118 #define BOOST_NO_CXX11_ALIGNAS
Chris@16 119 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
Chris@16 120 #define BOOST_NO_CXX11_INLINE_NAMESPACES
Chris@101 121 #define BOOST_NO_CXX11_REF_QUALIFIERS
Chris@101 122 #define BOOST_NO_CXX11_FINAL
Chris@16 123
Chris@101 124 // C++ 14:
Chris@101 125 #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304)
Chris@101 126 # define BOOST_NO_CXX14_AGGREGATE_NSDMI
Chris@101 127 #endif
Chris@101 128 #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304)
Chris@101 129 # define BOOST_NO_CXX14_BINARY_LITERALS
Chris@101 130 #endif
Chris@101 131 #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
Chris@101 132 # define BOOST_NO_CXX14_CONSTEXPR
Chris@101 133 #endif
Chris@101 134 #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
Chris@101 135 # define BOOST_NO_CXX14_DECLTYPE_AUTO
Chris@101 136 #endif
Chris@101 137 #if (__cplusplus < 201304) // There's no SD6 check for this....
Chris@101 138 # define BOOST_NO_CXX14_DIGIT_SEPARATORS
Chris@101 139 #endif
Chris@101 140 #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304)
Chris@101 141 # define BOOST_NO_CXX14_GENERIC_LAMBDAS
Chris@101 142 #endif
Chris@101 143 #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304)
Chris@101 144 # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES
Chris@101 145 #endif
Chris@101 146 #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304)
Chris@101 147 # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION
Chris@101 148 #endif
Chris@101 149 #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304)
Chris@101 150 # define BOOST_NO_CXX14_VARIABLE_TEMPLATES
Chris@101 151 #endif
Chris@16 152 //
Chris@16 153 // version check:
Chris@16 154 // probably nothing to do here?
Chris@16 155