]> git.lyx.org Git - lyx.git/blob - boost/boost/config/compiler/mpw.hpp
make it compile without exceptions on gcc 2.96
[lyx.git] / boost / boost / config / compiler / mpw.hpp
1 //  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 //  distribute this software is granted provided this copyright notice appears
3 //  in all copies. This software is provided "as is" without express or implied
4 //  warranty, and with no claim as to its suitability for any purpose.
5
6 //  See http://www.boost.org for most recent version.
7
8 //  MPW C++ compilers setup:
9
10 #   if    defined(__SC__)
11 #     define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__)
12 #   elif defined(__MRC__)
13 #     define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__)
14 #   else
15 #     error "Using MPW compiler configuration by mistake.  Please update."
16 #   endif
17
18 //
19 // MPW 8.90:
20 //
21 #if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG)
22 #  define BOOST_NO_CV_SPECIALIZATIONS
23 #  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
24 #  define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
25 #  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
26 #  define BOOST_NO_INTRINSIC_WCHAR_T
27 #  define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
28 #  define BOOST_NO_USING_TEMPLATE
29
30 #  define BOOST_NO_CWCHAR
31 #  define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
32
33 #  define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
34 #endif
35
36 //
37 // versions check:
38 // we don't support MPW prior to version 8.9:
39 #if MPW_CPLUS < 0x890
40 #  error "Compiler not supported or configured - please reconfigure"
41 #endif
42 //
43 // last known and checked version is 0x890:
44 #if (MPW_CPLUS > 0x890)
45 #  if defined(BOOST_ASSERT_CONFIG)
46 #     error "Unknown compiler version - please run the configure tests and report the results"
47 #  endif
48 #endif
49