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

Revision 857, 1.8 KB checked in by igarcia, 18 years ago (diff)
Line 
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#  define BOOST_MPL_CFG_ASSERT_USE_RELATION_NAMES 1
31#endif
32
33//
34// On AIX thread support seems to be indicated by _THREAD_SAFE:
35//
36#ifdef _THREAD_SAFE
37#  define BOOST_HAS_THREADS
38#endif
39
40#define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
41
42//
43// versions check:
44// we don't support Visual age prior to version 5:
45#if __IBMCPP__ < 500
46#error "Compiler not supported or configured - please reconfigure"
47#endif
48//
49// last known and checked version is 600:
50#if (__IBMCPP__ > 600)
51#  if defined(BOOST_ASSERT_CONFIG)
52#     error "Unknown compiler version - please run the configure tests and report the results"
53#  endif
54#endif
55
56
57
58
Note: See TracBrowser for help on using the repository browser.