cray.hpp 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // (C) Copyright John Maddock 2011.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org for most recent version.
  6. // Greenhills C compiler setup:
  7. #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE)
  8. #if _RELEASE < 7
  9. # error "Boost is not configured for Cray compilers prior to version 7, please try the configure script."
  10. #endif
  11. //
  12. // Check this is a recent EDG based compiler, otherwise we don't support it here:
  13. //
  14. #ifndef __EDG_VERSION__
  15. # error "Unsupported Cray compiler, please try running the configure script."
  16. #endif
  17. #include "boost/config/compiler/common_edg.hpp"
  18. //
  19. // Cray peculiarities, probably version 7 specific:
  20. //
  21. #undef BOOST_NO_CXX11_AUTO_DECLARATIONS
  22. #undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
  23. #define BOOST_HAS_NRVO
  24. #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
  25. #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
  26. #define BOOST_NO_CXX11_UNICODE_LITERALS
  27. #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
  28. #define BOOST_HAS_NRVO
  29. #define BOOST_NO_CXX11_TEMPLATE_ALIASES
  30. #define BOOST_NO_CXX11_STATIC_ASSERT
  31. #define BOOST_NO_SFINAE_EXPR
  32. #define BOOST_NO_CXX11_SCOPED_ENUMS
  33. #define BOOST_NO_CXX11_RVALUE_REFERENCES
  34. #define BOOST_NO_CXX11_RANGE_BASED_FOR
  35. #define BOOST_NO_CXX11_RAW_LITERALS
  36. #define BOOST_NO_CXX11_NULLPTR
  37. #define BOOST_NO_CXX11_NOEXCEPT
  38. #define BOOST_NO_CXX11_LAMBDAS
  39. #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
  40. #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
  41. #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
  42. #define BOOST_NO_CXX11_DELETED_FUNCTIONS
  43. #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
  44. #define BOOST_NO_CXX11_DECLTYPE_N3276
  45. #define BOOST_NO_CXX11_DECLTYPE
  46. #define BOOST_NO_CXX11_CONSTEXPR
  47. #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
  48. #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION
  49. #define BOOST_NO_CXX11_CHAR32_T
  50. #define BOOST_NO_CXX11_CHAR16_T
  51. #define BOOST_NO_CXX11_ALIGNAS
  52. //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG
  53. #define BOOST_MATH_DISABLE_STD_FPCLASSIFY
  54. //#define BOOST_HAS_FPCLASSIFY
  55. #define BOOST_SP_USE_PTHREADS
  56. #define BOOST_AC_USE_PTHREADS