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

Revision 857, 2.1 KB checked in by igarcia, 19 years ago (diff)
RevLine 
[857]1//  (C) Copyright John Maddock 2001 - 2003.
2//  (C) Copyright Jens Maurer 2001 - 2003.
3//  (C) Copyright Aleksey Gurtovoy 2002.
4//  (C) Copyright David Abrahams 2002 - 2003.
5//  (C) Copyright Toon Knapen 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//  HP aCC C++ compiler setup:
13
14#if (__HP_aCC <= 33100)
15#    define BOOST_NO_INTEGRAL_INT64_T
16#    define BOOST_NO_OPERATORS_IN_NAMESPACE
17#  if !defined(_NAMESPACE_STD)
18#     define BOOST_NO_STD_LOCALE
19#     define BOOST_NO_STRINGSTREAM
20#  endif
21#endif
22
23#if (__HP_aCC <= 33300)
24// member templates are sufficiently broken that we disable them for now
25#    define BOOST_NO_MEMBER_TEMPLATES
26#    define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
27#    define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
28#endif
29
30#if (__HP_aCC <= 33900) || !defined(BOOST_STRICT_CONFIG)
31#    define BOOST_NO_UNREACHABLE_RETURN_DETECTION
32#    define BOOST_NO_TEMPLATE_TEMPLATES
33#    define BOOST_NO_SWPRINTF
34#    define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
35#    define BOOST_NO_IS_ABSTRACT
36//     std lib config should set this one already:
37//#    define BOOST_NO_STD_ALLOCATOR
38#endif
39
40// optional features rather than defects:
41#if (__HP_aCC >= 33900)
42#    define BOOST_HAS_LONG_LONG
43#    define BOOST_HAS_PARTIAL_STD_ALLOCATOR
44#endif
45
46#if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 )
47#    define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
48#endif
49
50#define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
51
52#define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
53
54//
55// versions check:
56// we don't support HP aCC prior to version 0:
57#if __HP_aCC < 33000
58#  error "Compiler not supported or configured - please reconfigure"
59#endif
60//
61// last known and checked version is 0:
62#if (__HP_aCC > 53800)
63#  if defined(BOOST_ASSERT_CONFIG)
64#     error "Unknown compiler version - please run the configure tests and report the results"
65#  endif
66#endif
67
68
69
70
Note: See TracBrowser for help on using the repository browser.