vacpp.hpp 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // (C) Copyright John Maddock 2001 - 2003.
  2. // (C) Copyright Toon Knapen 2001 - 2003.
  3. // (C) Copyright Lie-Quan Lee 2001.
  4. // (C) Copyright Markus Schoepflin 2002 - 2003.
  5. // (C) Copyright Beman Dawes 2002 - 2003.
  6. // Use, modification and distribution are subject to the
  7. // Boost Software License, Version 1.0. (See accompanying file
  8. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. // See http://www.boost.org for most recent version.
  10. // Visual Age (IBM) C++ compiler setup:
  11. #if __IBMCPP__ <= 501
  12. # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
  13. # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
  14. #endif
  15. #if (__IBMCPP__ <= 502)
  16. // Actually the compiler supports inclass member initialization but it
  17. // requires a definition for the class member and it doesn't recognize
  18. // it as an integral constant expression when used as a template argument.
  19. # define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
  20. # define BOOST_NO_INTEGRAL_INT64_T
  21. # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
  22. #endif
  23. #if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
  24. # define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
  25. # define BOOST_NO_INITIALIZER_LISTS
  26. #endif
  27. //
  28. // On AIX thread support seems to be indicated by _THREAD_SAFE:
  29. //
  30. #ifdef _THREAD_SAFE
  31. # define BOOST_HAS_THREADS
  32. #endif
  33. #define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
  34. //
  35. // versions check:
  36. // we don't support Visual age prior to version 5:
  37. #if __IBMCPP__ < 500
  38. #error "Compiler not supported or configured - please reconfigure"
  39. #endif
  40. //
  41. // last known and checked version is 600:
  42. #if (__IBMCPP__ > 1010)
  43. # if defined(BOOST_ASSERT_CONFIG)
  44. # error "Unknown compiler version - please run the configure tests and report the results"
  45. # endif
  46. #endif
  47. // Some versions of the compiler have issues with default arguments on partial specializations
  48. #define BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
  49. //
  50. // C++0x features
  51. //
  52. // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
  53. //
  54. #define BOOST_NO_AUTO_DECLARATIONS
  55. #define BOOST_NO_AUTO_MULTIDECLARATIONS
  56. #define BOOST_NO_CHAR16_T
  57. #define BOOST_NO_CHAR32_T
  58. #define BOOST_NO_CONCEPTS
  59. #define BOOST_NO_CONSTEXPR
  60. #define BOOST_NO_DECLTYPE
  61. #define BOOST_NO_DEFAULTED_FUNCTIONS
  62. #define BOOST_NO_DELETED_FUNCTIONS
  63. #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
  64. #define BOOST_NO_EXTERN_TEMPLATE
  65. #define BOOST_NO_LAMBDAS
  66. #define BOOST_NO_NULLPTR
  67. #define BOOST_NO_RAW_LITERALS
  68. #define BOOST_NO_RVALUE_REFERENCES
  69. #define BOOST_NO_SCOPED_ENUMS
  70. #define BOOST_NO_STATIC_ASSERT
  71. #define BOOST_NO_TEMPLATE_ALIASES
  72. #define BOOST_NO_UNICODE_LITERALS
  73. #define BOOST_NO_VARIADIC_TEMPLATES