Chris@16: // (C) Copyright John Maddock 2001 - 2002. Chris@16: // (C) Copyright Jens Maurer 2001. Chris@16: // (C) Copyright David Abrahams 2002. Chris@16: // (C) Copyright Aleksey Gurtovoy 2002. Chris@16: // (C) Copyright Markus Schoepflin 2005. Chris@16: // Use, modification and distribution are subject to the Chris@16: // Boost Software License, Version 1.0. (See accompanying file Chris@16: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org for most recent version. Chris@16: Chris@16: // Chris@16: // Options common to all edg based compilers. Chris@16: // Chris@16: // This is included from within the individual compiler mini-configs. Chris@16: Chris@16: #ifndef __EDG_VERSION__ Chris@16: # error This file requires that __EDG_VERSION__ be defined. Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ <= 238) Chris@16: # define BOOST_NO_INTEGRAL_INT64_T Chris@16: # define BOOST_NO_SFINAE Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ <= 240) Chris@16: # define BOOST_NO_VOID_RETURNS Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ <= 241) && !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) Chris@16: # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ <= 244) && !defined(BOOST_NO_TEMPLATE_TEMPLATES) Chris@16: # define BOOST_NO_TEMPLATE_TEMPLATES Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ < 300) && !defined(BOOST_NO_IS_ABSTRACT) Chris@16: # define BOOST_NO_IS_ABSTRACT Chris@16: #endif Chris@16: Chris@16: #if (__EDG_VERSION__ <= 303) && !defined(BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL) Chris@16: # define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL Chris@16: #endif Chris@16: Chris@16: // See also kai.hpp which checks a Kai-specific symbol for EH Chris@16: # if !defined(__KCC) && !defined(__EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS) Chris@16: # define BOOST_NO_EXCEPTIONS Chris@16: # endif Chris@16: Chris@16: # if !defined(__NO_LONG_LONG) Chris@16: # define BOOST_HAS_LONG_LONG Chris@16: # else Chris@16: # define BOOST_NO_LONG_LONG Chris@16: # endif Chris@16: Chris@16: // Not sure what version was the first to support #pragma once, but Chris@16: // different EDG-based compilers (e.g. Intel) supported it for ages. Chris@16: // Add a proper version check if it causes problems. Chris@16: #define BOOST_HAS_PRAGMA_ONCE Chris@16: Chris@16: // Chris@16: // C++0x features Chris@16: // Chris@16: // See above for BOOST_NO_LONG_LONG Chris@16: // Chris@16: #if (__EDG_VERSION__ < 310) Chris@16: # define BOOST_NO_CXX11_EXTERN_TEMPLATE Chris@16: #endif Chris@16: #if (__EDG_VERSION__ <= 310) Chris@16: // No support for initializer lists Chris@16: # define BOOST_NO_CXX11_HDR_INITIALIZER_LIST Chris@16: #endif Chris@16: #if (__EDG_VERSION__ < 400) Chris@16: # define BOOST_NO_CXX11_VARIADIC_MACROS Chris@16: #endif Chris@16: Chris@16: #define BOOST_NO_CXX11_AUTO_DECLARATIONS Chris@16: #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS Chris@16: #define BOOST_NO_CXX11_CHAR16_T Chris@16: #define BOOST_NO_CXX11_CHAR32_T Chris@16: #define BOOST_NO_CXX11_CONSTEXPR Chris@16: #define BOOST_NO_CXX11_DECLTYPE Chris@16: #define BOOST_NO_CXX11_DECLTYPE_N3276 Chris@16: #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS Chris@16: #define BOOST_NO_CXX11_DELETED_FUNCTIONS Chris@16: #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS Chris@16: #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS Chris@16: #define BOOST_NO_CXX11_LAMBDAS Chris@16: #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS Chris@16: #define BOOST_NO_CXX11_NOEXCEPT Chris@16: #define BOOST_NO_CXX11_NULLPTR Chris@16: #define BOOST_NO_CXX11_RANGE_BASED_FOR Chris@16: #define BOOST_NO_CXX11_RAW_LITERALS Chris@16: #define BOOST_NO_CXX11_RVALUE_REFERENCES Chris@16: #define BOOST_NO_CXX11_SCOPED_ENUMS Chris@16: #define BOOST_NO_SFINAE_EXPR Chris@16: #define BOOST_NO_CXX11_STATIC_ASSERT Chris@16: #define BOOST_NO_CXX11_TEMPLATE_ALIASES Chris@16: #define BOOST_NO_CXX11_UNICODE_LITERALS Chris@16: #define BOOST_NO_CXX11_VARIADIC_TEMPLATES Chris@16: #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX Chris@16: #define BOOST_NO_CXX11_USER_DEFINED_LITERALS Chris@16: #define BOOST_NO_CXX11_ALIGNAS Chris@16: #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES Chris@16: #define BOOST_NO_CXX11_INLINE_NAMESPACES Chris@101: #define BOOST_NO_CXX11_REF_QUALIFIERS Chris@101: #define BOOST_NO_CXX11_FINAL Chris@101: Chris@101: // C++ 14: Chris@101: #if !defined(__cpp_aggregate_nsdmi) || (__cpp_aggregate_nsdmi < 201304) Chris@101: # define BOOST_NO_CXX14_AGGREGATE_NSDMI Chris@101: #endif Chris@101: #if !defined(__cpp_binary_literals) || (__cpp_binary_literals < 201304) Chris@101: # define BOOST_NO_CXX14_BINARY_LITERALS Chris@101: #endif Chris@101: #if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304) Chris@101: # define BOOST_NO_CXX14_CONSTEXPR Chris@101: #endif Chris@101: #if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304) Chris@101: # define BOOST_NO_CXX14_DECLTYPE_AUTO Chris@101: #endif Chris@101: #if (__cplusplus < 201304) // There's no SD6 check for this.... Chris@101: # define BOOST_NO_CXX14_DIGIT_SEPARATORS Chris@101: #endif Chris@101: #if !defined(__cpp_generic_lambdas) || (__cpp_generic_lambdas < 201304) Chris@101: # define BOOST_NO_CXX14_GENERIC_LAMBDAS Chris@101: #endif Chris@101: #if !defined(__cpp_init_captures) || (__cpp_init_captures < 201304) Chris@101: # define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES Chris@101: #endif Chris@101: #if !defined(__cpp_return_type_deduction) || (__cpp_return_type_deduction < 201304) Chris@101: # define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION Chris@101: #endif Chris@101: #if !defined(__cpp_variable_templates) || (__cpp_variable_templates < 201304) Chris@101: # define BOOST_NO_CXX14_VARIABLE_TEMPLATES Chris@101: #endif Chris@16: Chris@16: #ifdef c_plusplus Chris@16: // EDG has "long long" in non-strict mode Chris@16: // However, some libraries have insufficient "long long" support Chris@16: // #define BOOST_HAS_LONG_LONG Chris@16: #endif