source: NonGTP/Boost/boost/config/compiler/mpw.hpp @ 857

Revision 857, 1.6 KB checked in by igarcia, 18 years ago (diff)
Line 
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#endif
36
37//
38// versions check:
39// we don't support MPW prior to version 8.9:
40#if MPW_CPLUS < 0x890
41#  error "Compiler not supported or configured - please reconfigure"
42#endif
43//
44// last known and checked version is 0x890:
45#if (MPW_CPLUS > 0x890)
46#  if defined(BOOST_ASSERT_CONFIG)
47#     error "Unknown compiler version - please run the configure tests and report the results"
48#  endif
49#endif
50
51
Note: See TracBrowser for help on using the repository browser.