sl@0
|
1 |
// (C) Copyright John Maddock 2001.
|
sl@0
|
2 |
// (C) Copyright Darin Adler 2001.
|
sl@0
|
3 |
// (C) Copyright Peter Dimov 2001.
|
sl@0
|
4 |
// (C) Copyright David Abrahams 2001 - 2002.
|
sl@0
|
5 |
// (C) Copyright Beman Dawes 2001 - 2003.
|
sl@0
|
6 |
// (C) Copyright Stefan Slapeta 2004.
|
sl@0
|
7 |
// Use, modification and distribution are subject to the
|
sl@0
|
8 |
// Boost Software License, Version 1.0. (See accompanying file
|
sl@0
|
9 |
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
10 |
|
sl@0
|
11 |
// See http://www.boost.org for most recent version.
|
sl@0
|
12 |
|
sl@0
|
13 |
// Metrowerks C++ compiler setup:
|
sl@0
|
14 |
|
sl@0
|
15 |
// locale support is disabled when linking with the dynamic runtime
|
sl@0
|
16 |
# ifdef _MSL_NO_LOCALE
|
sl@0
|
17 |
# define BOOST_NO_STD_LOCALE
|
sl@0
|
18 |
# endif
|
sl@0
|
19 |
|
sl@0
|
20 |
# if __MWERKS__ <= 0x2301 // 5.3
|
sl@0
|
21 |
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
sl@0
|
22 |
# define BOOST_NO_POINTER_TO_MEMBER_CONST
|
sl@0
|
23 |
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
sl@0
|
24 |
# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
sl@0
|
25 |
# endif
|
sl@0
|
26 |
|
sl@0
|
27 |
# if __MWERKS__ <= 0x2401 // 6.2
|
sl@0
|
28 |
//# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
|
sl@0
|
29 |
# endif
|
sl@0
|
30 |
|
sl@0
|
31 |
# if(__MWERKS__ <= 0x2407) // 7.x
|
sl@0
|
32 |
# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
|
sl@0
|
33 |
# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
sl@0
|
34 |
# endif
|
sl@0
|
35 |
|
sl@0
|
36 |
# if(__MWERKS__ <= 0x3003) // 8.x
|
sl@0
|
37 |
# define BOOST_NO_SFINAE
|
sl@0
|
38 |
# endif
|
sl@0
|
39 |
|
sl@0
|
40 |
// the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last
|
sl@0
|
41 |
// tested version *only*:
|
sl@0
|
42 |
# if(__MWERKS__ <= 0x3206) || !defined(BOOST_STRICT_CONFIG) // 9.5
|
sl@0
|
43 |
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
sl@0
|
44 |
# define BOOST_NO_IS_ABSTRACT
|
sl@0
|
45 |
# endif
|
sl@0
|
46 |
|
sl@0
|
47 |
#if !__option(wchar_type)
|
sl@0
|
48 |
# define BOOST_NO_INTRINSIC_WCHAR_T
|
sl@0
|
49 |
#endif
|
sl@0
|
50 |
|
sl@0
|
51 |
#if !__option(exceptions)
|
sl@0
|
52 |
# define BOOST_NO_EXCEPTIONS
|
sl@0
|
53 |
#endif
|
sl@0
|
54 |
|
sl@0
|
55 |
#if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
|
sl@0
|
56 |
# if __MWERKS__ == 0x3000
|
sl@0
|
57 |
# define BOOST_COMPILER_VERSION 8.0
|
sl@0
|
58 |
# elif __MWERKS__ == 0x3001
|
sl@0
|
59 |
# define BOOST_COMPILER_VERSION 8.1
|
sl@0
|
60 |
# elif __MWERKS__ == 0x3002
|
sl@0
|
61 |
# define BOOST_COMPILER_VERSION 8.2
|
sl@0
|
62 |
# elif __MWERKS__ == 0x3003
|
sl@0
|
63 |
# define BOOST_COMPILER_VERSION 8.3
|
sl@0
|
64 |
# elif __MWERKS__ == 0x3200
|
sl@0
|
65 |
# define BOOST_COMPILER_VERSION 9.0
|
sl@0
|
66 |
# elif __MWERKS__ == 0x3201
|
sl@0
|
67 |
# define BOOST_COMPILER_VERSION 9.1
|
sl@0
|
68 |
# elif __MWERKS__ == 0x3202
|
sl@0
|
69 |
# define BOOST_COMPILER_VERSION 9.2
|
sl@0
|
70 |
# elif __MWERKS__ == 0x3204
|
sl@0
|
71 |
# define BOOST_COMPILER_VERSION 9.3
|
sl@0
|
72 |
# elif __MWERKS__ == 0x3205
|
sl@0
|
73 |
# define BOOST_COMPILER_VERSION 9.4
|
sl@0
|
74 |
# elif __MWERKS__ == 0x3206
|
sl@0
|
75 |
# define BOOST_COMPILER_VERSION 9.5
|
sl@0
|
76 |
# else
|
sl@0
|
77 |
# define BOOST_COMPILER_VERSION __MWERKS__
|
sl@0
|
78 |
# endif
|
sl@0
|
79 |
#else
|
sl@0
|
80 |
# define BOOST_COMPILER_VERSION __MWERKS__
|
sl@0
|
81 |
#endif
|
sl@0
|
82 |
|
sl@0
|
83 |
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
|
sl@0
|
84 |
|
sl@0
|
85 |
//
|
sl@0
|
86 |
// versions check:
|
sl@0
|
87 |
// we don't support Metrowerks prior to version 5.3:
|
sl@0
|
88 |
#if __MWERKS__ < 0x2301
|
sl@0
|
89 |
# error "Compiler not supported or configured - please reconfigure"
|
sl@0
|
90 |
#endif
|
sl@0
|
91 |
//
|
sl@0
|
92 |
// last known and checked version:
|
sl@0
|
93 |
#if (__MWERKS__ > 0x3205)
|
sl@0
|
94 |
# if defined(BOOST_ASSERT_CONFIG)
|
sl@0
|
95 |
# error "Unknown compiler version - please run the configure tests and report the results"
|
sl@0
|
96 |
# endif
|
sl@0
|
97 |
#endif
|
sl@0
|
98 |
|
sl@0
|
99 |
|
sl@0
|
100 |
|
sl@0
|
101 |
|
sl@0
|
102 |
|
sl@0
|
103 |
|
sl@0
|
104 |
|