os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/mpw.hpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
//  (C) Copyright John Maddock 2001 - 2002. 
sl@0
     2
//  (C) Copyright Aleksey Gurtovoy 2002. 
sl@0
     3
//  Use, modification and distribution are subject to the 
sl@0
     4
//  Boost Software License, Version 1.0. (See accompanying file 
sl@0
     5
//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
sl@0
     6
sl@0
     7
//  See http://www.boost.org for most recent version.
sl@0
     8
sl@0
     9
//  MPW C++ compilers setup:
sl@0
    10
sl@0
    11
#   if    defined(__SC__)
sl@0
    12
#     define BOOST_COMPILER "MPW SCpp version " BOOST_STRINGIZE(__SC__)
sl@0
    13
#   elif defined(__MRC__)
sl@0
    14
#     define BOOST_COMPILER "MPW MrCpp version " BOOST_STRINGIZE(__MRC__)
sl@0
    15
#   else
sl@0
    16
#     error "Using MPW compiler configuration by mistake.  Please update."
sl@0
    17
#   endif
sl@0
    18
sl@0
    19
//
sl@0
    20
// MPW 8.90:
sl@0
    21
//
sl@0
    22
#if (MPW_CPLUS <= 0x890) || !defined(BOOST_STRICT_CONFIG)
sl@0
    23
#  define BOOST_NO_CV_SPECIALIZATIONS
sl@0
    24
#  define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
sl@0
    25
#  define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
sl@0
    26
#  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
sl@0
    27
#  define BOOST_NO_INTRINSIC_WCHAR_T
sl@0
    28
#  define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
sl@0
    29
#  define BOOST_NO_USING_TEMPLATE
sl@0
    30
sl@0
    31
#  define BOOST_NO_CWCHAR
sl@0
    32
#  define BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS
sl@0
    33
sl@0
    34
#  define BOOST_NO_STD_ALLOCATOR /* actually a bug with const reference overloading */
sl@0
    35
#endif
sl@0
    36
sl@0
    37
//
sl@0
    38
// versions check:
sl@0
    39
// we don't support MPW prior to version 8.9:
sl@0
    40
#if MPW_CPLUS < 0x890
sl@0
    41
#  error "Compiler not supported or configured - please reconfigure"
sl@0
    42
#endif
sl@0
    43
//
sl@0
    44
// last known and checked version is 0x890:
sl@0
    45
#if (MPW_CPLUS > 0x890)
sl@0
    46
#  if defined(BOOST_ASSERT_CONFIG)
sl@0
    47
#     error "Unknown compiler version - please run the configure tests and report the results"
sl@0
    48
#  endif
sl@0
    49
#endif
sl@0
    50
sl@0
    51