Chris@16: // (C) Copyright John Maddock 2011. Chris@101: // (C) Copyright Cray, Inc. 2013 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: // Greenhills C compiler setup: Chris@16: Chris@16: #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) Chris@16: Chris@101: #if _RELEASE < 8 Chris@101: # error "Boost is not configured for Cray compilers prior to version 8, please try the configure script." Chris@16: #endif Chris@16: Chris@16: // Chris@16: // Check this is a recent EDG based compiler, otherwise we don't support it here: Chris@16: // Chris@16: #ifndef __EDG_VERSION__ Chris@16: # error "Unsupported Cray compiler, please try running the configure script." Chris@16: #endif Chris@16: Chris@16: #include "boost/config/compiler/common_edg.hpp" Chris@16: Chris@101: Chris@16: // Chris@16: // Chris@101: #define BOOST_NO_CXX11_STATIC_ASSERT Chris@101: #define BOOST_NO_CXX11_AUTO_DECLARATIONS Chris@101: #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS Chris@16: #define BOOST_HAS_NRVO Chris@101: #define BOOST_NO_CXX11_VARIADIC_MACROS Chris@16: #define BOOST_NO_CXX11_VARIADIC_TEMPLATES Chris@16: #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX Chris@16: #define BOOST_NO_CXX11_UNICODE_LITERALS Chris@16: #define BOOST_NO_TWO_PHASE_NAME_LOOKUP Chris@16: #define BOOST_HAS_NRVO Chris@16: #define BOOST_NO_CXX11_TEMPLATE_ALIASES Chris@16: #define BOOST_NO_CXX11_STATIC_ASSERT Chris@16: #define BOOST_NO_SFINAE_EXPR Chris@16: #define BOOST_NO_CXX11_SCOPED_ENUMS Chris@16: #define BOOST_NO_CXX11_RVALUE_REFERENCES Chris@16: #define BOOST_NO_CXX11_RANGE_BASED_FOR Chris@16: #define BOOST_NO_CXX11_RAW_LITERALS Chris@16: #define BOOST_NO_CXX11_NULLPTR Chris@16: #define BOOST_NO_CXX11_NOEXCEPT Chris@16: #define BOOST_NO_CXX11_LAMBDAS Chris@16: #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS Chris@16: #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS Chris@16: #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS Chris@16: #define BOOST_NO_CXX11_DELETED_FUNCTIONS Chris@16: #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS Chris@16: #define BOOST_NO_CXX11_DECLTYPE_N3276 Chris@16: #define BOOST_NO_CXX11_DECLTYPE Chris@16: #define BOOST_NO_CXX11_CONSTEXPR Chris@16: #define BOOST_NO_CXX11_USER_DEFINED_LITERALS Chris@16: #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION Chris@16: #define BOOST_NO_CXX11_CHAR32_T Chris@16: #define BOOST_NO_CXX11_CHAR16_T Chris@101: #define BOOST_NO_CXX11_REF_QUALIFIERS Chris@101: #define BOOST_NO_CXX11_FINAL Chris@101: Chris@101: Chris@16: //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG Chris@16: #define BOOST_MATH_DISABLE_STD_FPCLASSIFY Chris@16: //#define BOOST_HAS_FPCLASSIFY Chris@16: Chris@101: #define BOOST_SP_USE_PTHREADS Chris@101: #define BOOST_AC_USE_PTHREADS Chris@16: Chris@101: /* everything that follows is working around what are thought to be Chris@101: * compiler shortcomings. Revist all of these regularly. Chris@101: */ Chris@101: Chris@101: //#define BOOST_USE_ENUM_STATIC_ASSERT Chris@101: //#define BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS //(this may be implied by the previous #define Chris@101: Chris@101: // These constants should be provided by the Chris@101: // compiler, at least when -hgnu is asserted on the command line. Chris@101: Chris@101: #ifndef __ATOMIC_RELAXED Chris@101: #define __ATOMIC_RELAXED 0 Chris@101: #define __ATOMIC_CONSUME 1 Chris@101: #define __ATOMIC_ACQUIRE 2 Chris@101: #define __ATOMIC_RELEASE 3 Chris@101: #define __ATOMIC_ACQ_REL 4 Chris@101: #define __ATOMIC_SEQ_CST 5 Chris@101: #endif Chris@101: Chris@101: Chris@101: