~ubuntu-branches/ubuntu/breezy/aqsis/breezy

« back to all changes in this revision

Viewing changes to boost/boost/config/compiler/vacpp.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Will Newton
  • Date: 2004-12-07 20:06:49 UTC
  • Revision ID: james.westby@ubuntu.com-20041207200649-fccswkrvp4oc8lmn
Tags: upstream-0.9.3
ImportĀ upstreamĀ versionĀ 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
//  Visual Age (IBM) C++ compiler setup:
 
9
 
 
10
#if __IBMCPP__ <= 501
 
11
#  define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
 
12
#  define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
 
13
#endif
 
14
 
 
15
#if (__IBMCPP__ <= 502) 
 
16
// Actually the compiler supports inclass member initialization but it
 
17
// requires a definition for the class member and it doesn't recognize
 
18
// it as an integral constant expression when used as a template argument.
 
19
#  define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
 
20
#  define BOOST_NO_INTEGRAL_INT64_T
 
21
#  define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
 
22
#endif
 
23
 
 
24
#if (__IBMCPP__ <= 600) || !defined(BOOST_STRICT_CONFIG)
 
25
#endif
 
26
 
 
27
//
 
28
// On AIX thread support seems to be indicated by _THREAD_SAFE:
 
29
//
 
30
#ifdef _THREAD_SAFE
 
31
#  define BOOST_HAS_THREADS
 
32
#endif
 
33
 
 
34
#define BOOST_COMPILER "IBM Visual Age version " BOOST_STRINGIZE(__IBMCPP__)
 
35
 
 
36
//
 
37
// versions check:
 
38
// we don't support Visual age prior to version 5:
 
39
#if __IBMCPP__ < 500
 
40
#error "Compiler not supported or configured - please reconfigure"
 
41
#endif
 
42
//
 
43
// last known and checked version is 600:
 
44
#if (__IBMCPP__ > 600)
 
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
 
 
50
 
 
51