1 // (C) Copyright John Maddock 2001.
\r
2 // (C) Copyright Darin Adler 2001.
\r
3 // (C) Copyright Peter Dimov 2001.
\r
4 // (C) Copyright David Abrahams 2001 - 2002.
\r
5 // (C) Copyright Beman Dawes 2001 - 2003.
\r
6 // (C) Copyright Stefan Slapeta 2004.
\r
7 // Use, modification and distribution are subject to the
\r
8 // Boost Software License, Version 1.0. (See accompanying file
\r
9 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
11 // See http://www.boost.org for most recent version.
\r
13 // Metrowerks C++ compiler setup:
\r
15 // locale support is disabled when linking with the dynamic runtime
\r
16 # ifdef _MSL_NO_LOCALE
\r
17 # define BOOST_NO_STD_LOCALE
\r
20 # if __MWERKS__ <= 0x2301 // 5.3
\r
21 # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
\r
22 # define BOOST_NO_POINTER_TO_MEMBER_CONST
\r
23 # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
\r
24 # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
\r
27 # if __MWERKS__ <= 0x2401 // 6.2
\r
28 //# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
\r
31 # if(__MWERKS__ <= 0x2407) // 7.x
\r
32 # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
\r
33 # define BOOST_NO_UNREACHABLE_RETURN_DETECTION
\r
36 # if(__MWERKS__ <= 0x3003) // 8.x
\r
37 # define BOOST_NO_SFINAE
\r
40 // the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last
\r
41 // tested version *only*:
\r
42 # if(__MWERKS__ <= 0x3207) || !defined(BOOST_STRICT_CONFIG) // 9.6
\r
43 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
\r
44 # define BOOST_NO_IS_ABSTRACT
\r
47 #if !__option(wchar_type)
\r
48 # define BOOST_NO_INTRINSIC_WCHAR_T
\r
51 #if !__option(exceptions)
\r
52 # define BOOST_NO_EXCEPTIONS
\r
55 #if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
\r
56 # if __MWERKS__ == 0x3000
\r
57 # define BOOST_COMPILER_VERSION 8.0
\r
58 # elif __MWERKS__ == 0x3001
\r
59 # define BOOST_COMPILER_VERSION 8.1
\r
60 # elif __MWERKS__ == 0x3002
\r
61 # define BOOST_COMPILER_VERSION 8.2
\r
62 # elif __MWERKS__ == 0x3003
\r
63 # define BOOST_COMPILER_VERSION 8.3
\r
64 # elif __MWERKS__ == 0x3200
\r
65 # define BOOST_COMPILER_VERSION 9.0
\r
66 # elif __MWERKS__ == 0x3201
\r
67 # define BOOST_COMPILER_VERSION 9.1
\r
68 # elif __MWERKS__ == 0x3202
\r
69 # define BOOST_COMPILER_VERSION 9.2
\r
70 # elif __MWERKS__ == 0x3204
\r
71 # define BOOST_COMPILER_VERSION 9.3
\r
72 # elif __MWERKS__ == 0x3205
\r
73 # define BOOST_COMPILER_VERSION 9.4
\r
74 # elif __MWERKS__ == 0x3206
\r
75 # define BOOST_COMPILER_VERSION 9.5
\r
76 # elif __MWERKS__ == 0x3207
\r
77 # define BOOST_COMPILER_VERSION 9.6
\r
79 # define BOOST_COMPILER_VERSION __MWERKS__
\r
82 # define BOOST_COMPILER_VERSION __MWERKS__
\r
88 // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
\r
90 #if __MWERKS__ > 0x3206 && __option(rvalue_refs)
\r
91 # define BOOST_HAS_RVALUE_REFS
\r
93 # define BOOST_NO_RVALUE_REFERENCES
\r
95 #define BOOST_NO_AUTO_DECLARATIONS
\r
96 #define BOOST_NO_AUTO_MULTIDECLARATIONS
\r
97 #define BOOST_NO_CHAR16_T
\r
98 #define BOOST_NO_CHAR32_T
\r
99 #define BOOST_NO_CONCEPTS
\r
100 #define BOOST_NO_CONSTEXPR
\r
101 #define BOOST_NO_DECLTYPE
\r
102 #define BOOST_NO_DEFAULTED_FUNCTIONS
\r
103 #define BOOST_NO_DELETED_FUNCTIONS
\r
104 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
\r
105 #define BOOST_NO_EXTERN_TEMPLATE
\r
106 #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
\r
107 #define BOOST_NO_INITIALIZER_LISTS
\r
108 #define BOOST_NO_LAMBDAS
\r
109 #define BOOST_NO_NULLPTR
\r
110 #define BOOST_NO_RAW_LITERALS
\r
111 #define BOOST_NO_SCOPED_ENUMS
\r
112 #define BOOST_NO_SFINAE_EXPR
\r
113 #define BOOST_NO_STATIC_ASSERT
\r
114 #define BOOST_NO_TEMPLATE_ALIASES
\r
115 #define BOOST_NO_UNICODE_LITERALS
\r
116 #define BOOST_NO_VARIADIC_TEMPLATES
\r
118 #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
\r
122 // we don't support Metrowerks prior to version 5.3:
\r
123 #if __MWERKS__ < 0x2301
\r
124 # error "Compiler not supported or configured - please reconfigure"
\r
127 // last known and checked version:
\r
128 #if (__MWERKS__ > 0x3205)
\r
129 # if defined(BOOST_ASSERT_CONFIG)
\r
130 # error "Unknown compiler version - please run the configure tests and report the results"
\r