pgi.hpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // (C) Copyright Noel Belcourt 2007.
  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. // PGI C++ compiler setup:
  7. #define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
  8. #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(_COMPILER_VERSION)
  9. //
  10. // Threading support:
  11. // Turn this on unconditionally here, it will get turned off again later
  12. // if no threading API is detected.
  13. //
  14. #if (__PGIC__ >= 7)
  15. #define BOOST_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
  16. #define BOOST_NO_TWO_PHASE_NAME_LOOKUP
  17. #define BOOST_NO_SWPRINTF
  18. #else
  19. # error "Pgi compiler not configured - please reconfigure"
  20. #endif
  21. //
  22. // C++0x features
  23. //
  24. // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
  25. //
  26. #define BOOST_NO_AUTO_DECLARATIONS
  27. #define BOOST_NO_AUTO_MULTIDECLARATIONS
  28. #define BOOST_NO_CHAR16_T
  29. #define BOOST_NO_CHAR32_T
  30. #define BOOST_NO_CONCEPTS
  31. #define BOOST_NO_CONSTEXPR
  32. #define BOOST_NO_DECLTYPE
  33. #define BOOST_NO_DEFAULTED_FUNCTIONS
  34. #define BOOST_NO_DELETED_FUNCTIONS
  35. #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
  36. #define BOOST_NO_EXTERN_TEMPLATE
  37. #define BOOST_NO_INITIALIZER_LISTS
  38. #define BOOST_NO_LAMBDAS
  39. #define BOOST_NO_NULLPTR
  40. #define BOOST_NO_RAW_LITERALS
  41. #define BOOST_NO_RVALUE_REFERENCES
  42. #define BOOST_NO_SCOPED_ENUMS
  43. #define BOOST_NO_STATIC_ASSERT
  44. #define BOOST_NO_TEMPLATE_ALIASES
  45. #define BOOST_NO_UNICODE_LITERALS
  46. #define BOOST_NO_VARIADIC_TEMPLATES
  47. //
  48. // version check:
  49. // probably nothing to do here?