]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/boost/boost/config/compiler/mpw.hpp
Add subset of boost library headers needed for compilation on PowerPC
[eurobot/public.git] / src / boost / boost / config / compiler / mpw.hpp
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
7 //  See http://www.boost.org for most recent version.
8
9 //  MPW C++ compilers setup:
10
11 #   if    defined(__SC__)
12 #     define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__)
13 #   elif defined(__MRC__)
14 #     define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__)
15 #   else
16 #     error "Using MPW compiler configuration by mistake.  Please update."
17 #   endif
18
19 //
20 // MPW 8.90:
21 //
22 #if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG)
23 #  define BOOST_NO_CV_SPECIALIZATIONS
24 #  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
25 #  define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
26 #  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
27 #  define BOOST_NO_INTRINSIC_WCHAR_T
28 #  define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
29 #  define BOOST_NO_USING_TEMPLATE
30
31 #  define BOOST_NO_CWCHAR
32 #  define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
33
34 #  define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
35
36 #endif
37
38 //
39 // C++0x features
40 //
41 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
42 //
43 #define BOOST_NO_AUTO_DECLARATIONS
44 #define BOOST_NO_AUTO_MULTIDECLARATIONS
45 #define BOOST_NO_CHAR16_T
46 #define BOOST_NO_CHAR32_T
47 #define BOOST_NO_CONSTEXPR
48 #define BOOST_NO_DECLTYPE
49 #define BOOST_NO_DECLTYPE_N3276
50 #define BOOST_NO_DEFAULTED_FUNCTIONS
51 #define BOOST_NO_DELETED_FUNCTIONS
52 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
53 #define BOOST_NO_EXTERN_TEMPLATE
54 #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
55 #define BOOST_NO_INITIALIZER_LISTS
56 #define BOOST_NO_LAMBDAS
57 #define BOOST_NO_NOEXCEPT
58 #define BOOST_NO_NULLPTR
59 #define BOOST_NO_RAW_LITERALS
60 #define BOOST_NO_RVALUE_REFERENCES
61 #define BOOST_NO_SCOPED_ENUMS
62 #define BOOST_NO_SFINAE_EXPR
63 #define BOOST_NO_STATIC_ASSERT
64 #define BOOST_NO_TEMPLATE_ALIASES
65 #define BOOST_NO_UNICODE_LITERALS
66 #define BOOST_NO_VARIADIC_TEMPLATES
67 #define BOOST_NO_VARIADIC_MACROS
68 #define BOOST_NO_UNIFIED_INITIALIZATION_SYNTAX
69
70 //
71 // versions check:
72 // we don't support MPW prior to version 8.9:
73 #if MPW_CPLUS < 0x890
74 #  error "Compiler not supported or configured - please reconfigure"
75 #endif
76 //
77 // last known and checked version is 0x890:
78 #if (MPW_CPLUS > 0x890)
79 #  if defined(BOOST_ASSERT_CONFIG)
80 #     error "Unknown compiler version - please run the configure tests and report the results"
81 #  endif
82 #endif
83
84