os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/vacpp.hpp
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 //  (C) Copyright John Maddock 2001 - 2003. 
     2 //  (C) Copyright Toon Knapen 2001 - 2003. 
     3 //  (C) Copyright Lie-Quan Lee 2001. 
     4 //  (C) Copyright Markus Schöpflin 2002 - 2003. 
     5 //  (C) Copyright Beman Dawes 2002 - 2003. 
     6 //  Use, modification and distribution are subject to the 
     7 //  Boost Software License, Version 1.0. (See accompanying file 
     8 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     9 
    10 //  See http://www.boost.org for most recent version.
    11 
    12 //  Visual Age (IBM) C++ compiler setup:
    13 
    14 #if __IBMCPP__ <= 501
    15 #  define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
    16 #  define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
    17 #endif
    18 
    19 #if (__IBMCPP__ <= 502) 
    20 // Actually the compiler supports inclass member initialization but it
    21 // requires a definition for the class member and it doesn't recognize
    22 // it as an integral constant expression when used as a template argument.
    23 #  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
    24 #  define BOOST_NO_INTEGRAL_INT64_T
    25 #  define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
    26 #endif
    27 
    28 #if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
    29 #  define BOOST_NO_POINTER_TO_MEMBER_TEMPLATE_PARAMETERS
    30 #endif
    31 
    32 //
    33 // On AIX thread support seems to be indicated by _THREAD_SAFE:
    34 //
    35 #ifdef _THREAD_SAFE
    36 #  define BOOST_HAS_THREADS
    37 #endif
    38 
    39 #define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
    40 
    41 //
    42 // versions check:
    43 // we don't support Visual age prior to version 5:
    44 #if __IBMCPP__ < 500
    45 #error "Compiler not supported or configured - please reconfigure"
    46 #endif
    47 //
    48 // last known and checked version is 600:
    49 #if (__IBMCPP__ > 600)
    50 #  if defined(BOOST_ASSERT_CONFIG)
    51 #     error "Unknown compiler version - please run the configure tests and report the results"
    52 #  endif
    53 #endif
    54 
    55 
    56 
    57