blob: 83aa275f41ea9d505928cf1f4f1e2fa314aaa9a1 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001// (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
7// See http://www.boost.org for most recent version.
8
9// MPW C++ compilers setup:
10
11# if defined(__SC__)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070012# define NDNBOOST_COMPILER "MPW SCpp version " NDNBOOST_STRINGIZE(__SC__)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013# elif defined(__MRC__)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070014# define NDNBOOST_COMPILER "MPW MrCpp version " NDNBOOST_STRINGIZE(__MRC__)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070015# else
16# error "Using MPW compiler configuration by mistake. Please update."
17# endif
18
19//
20// MPW 8.90:
21//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070022#if (MPW_CPLUS <= 0x890) || !defined(NDNBOOST_STRICT_CONFIG)
23# define NDNBOOST_NO_CV_SPECIALIZATIONS
24# define NDNBOOST_NO_DEPENDENT_NESTED_DERIVATIONS
25# define NDNBOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
26# define NDNBOOST_NO_INCLASS_MEMBER_INITIALIZATION
27# define NDNBOOST_NO_INTRINSIC_WCHAR_T
28# define NDNBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
29# define NDNBOOST_NO_USING_TEMPLATE
Jeff Thompsonf7d49942013-08-01 16:47:40 -070030
Jeff Thompson3d613fd2013-10-15 15:39:04 -070031# define NDNBOOST_NO_CWCHAR
32# define NDNBOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070033
Jeff Thompson3d613fd2013-10-15 15:39:04 -070034# define NDNBOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
Jeff Thompsonf7d49942013-08-01 16:47:40 -070035
36#endif
37
38//
39// C++0x features
40//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070041// See boost\config\suffix.hpp for NDNBOOST_NO_LONG_LONG
Jeff Thompsonf7d49942013-08-01 16:47:40 -070042//
Jeff Thompson3d613fd2013-10-15 15:39:04 -070043#define NDNBOOST_NO_CXX11_AUTO_DECLARATIONS
44#define NDNBOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
45#define NDNBOOST_NO_CXX11_CHAR16_T
46#define NDNBOOST_NO_CXX11_CHAR32_T
47#define NDNBOOST_NO_CXX11_CONSTEXPR
48#define NDNBOOST_NO_CXX11_DECLTYPE
49#define NDNBOOST_NO_CXX11_DECLTYPE_N3276
50#define NDNBOOST_NO_CXX11_DEFAULTED_FUNCTIONS
51#define NDNBOOST_NO_CXX11_DELETED_FUNCTIONS
52#define NDNBOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
53#define NDNBOOST_NO_CXX11_EXTERN_TEMPLATE
54#define NDNBOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
55#define NDNBOOST_NO_CXX11_HDR_INITIALIZER_LIST
56#define NDNBOOST_NO_CXX11_LAMBDAS
57#define NDNBOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
58#define NDNBOOST_NO_CXX11_NOEXCEPT
59#define NDNBOOST_NO_CXX11_NULLPTR
60#define NDNBOOST_NO_CXX11_RANGE_BASED_FOR
61#define NDNBOOST_NO_CXX11_RAW_LITERALS
62#define NDNBOOST_NO_CXX11_RVALUE_REFERENCES
63#define NDNBOOST_NO_CXX11_SCOPED_ENUMS
64#define NDNBOOST_NO_SFINAE_EXPR
65#define NDNBOOST_NO_CXX11_STATIC_ASSERT
66#define NDNBOOST_NO_CXX11_TEMPLATE_ALIASES
67#define NDNBOOST_NO_CXX11_UNICODE_LITERALS
68#define NDNBOOST_NO_CXX11_VARIADIC_TEMPLATES
69#define NDNBOOST_NO_CXX11_VARIADIC_MACROS
70#define NDNBOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
71#define NDNBOOST_NO_CXX11_USER_DEFINED_LITERALS
Jeff Thompsonf7d49942013-08-01 16:47:40 -070072
73//
74// versions check:
75// we don't support MPW prior to version 8.9:
76#if MPW_CPLUS < 0x890
77# error "Compiler not supported or configured - please reconfigure"
78#endif
79//
80// last known and checked version is 0x890:
81#if (MPW_CPLUS > 0x890)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070082# if defined(NDNBOOST_ASSERT_CONFIG)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070083# error "Unknown compiler version - please run the configure tests and report the results"
84# endif
85#endif
86
87