mpw.hpp 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // (C) Copyright John Maddock 2001 - 2002.
  2. // (C) Copyright Aleksey Gurtovoy 2002.
  3. // Use, modification and distribution are subject to the
  4. // Boost Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. // See http://www.boost.org for most recent version.
  7. // MPW C++ compilers setup:
  8. # if defined(__SC__)
  9. # define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__)
  10. # elif defined(__MRC__)
  11. # define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__)
  12. # else
  13. # error "Using MPW compiler configuration by mistake. Please update."
  14. # endif
  15. //
  16. // MPW 8.90:
  17. //
  18. #if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG)
  19. # define BOOST_NO_CV_SPECIALIZATIONS
  20. # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
  21. # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
  22. # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
  23. # define BOOST_NO_INTRINSIC_WCHAR_T
  24. # define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
  25. # define BOOST_NO_USING_TEMPLATE
  26. # define BOOST_NO_CWCHAR
  27. # define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
  28. # define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
  29. #endif
  30. //
  31. // C++0x features
  32. //
  33. // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
  34. //
  35. #define BOOST_NO_AUTO_DECLARATIONS
  36. #define BOOST_NO_AUTO_MULTIDECLARATIONS
  37. #define BOOST_NO_CHAR16_T
  38. #define BOOST_NO_CHAR32_T
  39. #define BOOST_NO_CONCEPTS
  40. #define BOOST_NO_CONSTEXPR
  41. #define BOOST_NO_DECLTYPE
  42. #define BOOST_NO_DEFAULTED_FUNCTIONS
  43. #define BOOST_NO_DELETED_FUNCTIONS
  44. #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
  45. #define BOOST_NO_EXTERN_TEMPLATE
  46. #define BOOST_NO_INITIALIZER_LISTS
  47. #define BOOST_NO_LAMBDAS
  48. #define BOOST_NO_NULLPTR
  49. #define BOOST_NO_RAW_LITERALS
  50. #define BOOST_NO_RVALUE_REFERENCES
  51. #define BOOST_NO_SCOPED_ENUMS
  52. #define BOOST_NO_STATIC_ASSERT
  53. #define BOOST_NO_TEMPLATE_ALIASES
  54. #define BOOST_NO_UNICODE_LITERALS
  55. #define BOOST_NO_VARIADIC_TEMPLATES
  56. //
  57. // versions check:
  58. // we don't support MPW prior to version 8.9:
  59. #if MPW_CPLUS < 0x890
  60. # error "Compiler not supported or configured - please reconfigure"
  61. #endif
  62. //
  63. // last known and checked version is 0x890:
  64. #if (MPW_CPLUS > 0x890)
  65. # if defined(BOOST_ASSERT_CONFIG)
  66. # error "Unknown compiler version - please run the configure tests and report the results"
  67. # endif
  68. #endif