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