1 | // (C) Copyright John Maddock 2001 - 2003. |
---|
2 | // (C) Copyright Jens Maurer 2001 - 2003. |
---|
3 | // (C) Copyright John Maddock 2001 - 2003. |
---|
4 | // (C) Copyright Jens Maurer 2001 - 2003. |
---|
5 | // (C) Copyright Aleksey Gurtovoy 2002. |
---|
6 | // (C) Copyright David Abrahams 2002 - 2003. |
---|
7 | // (C) Copyright Toon Knapen 2003. |
---|
8 | // (C) Copyright Boris Gubenko 2006. |
---|
9 | // Use, modification and distribution are subject to the |
---|
10 | // Boost Software License, Version 1.0. (See accompanying file |
---|
11 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
12 | |
---|
13 | // See http://www.boost.org for most recent version. |
---|
14 | |
---|
15 | // HP aCC C++ compiler setup: |
---|
16 | |
---|
17 | #if (__HP_aCC >= 61200) && defined(__EDG__) |
---|
18 | #include "boost/config/compiler/common_edg.hpp" |
---|
19 | #endif |
---|
20 | |
---|
21 | #if (__HP_aCC <= 33100) |
---|
22 | # define BOOST_NO_INTEGRAL_INT64_T |
---|
23 | # define BOOST_NO_OPERATORS_IN_NAMESPACE |
---|
24 | # if !defined(_NAMESPACE_STD) |
---|
25 | # define BOOST_NO_STD_LOCALE |
---|
26 | # define BOOST_NO_STRINGSTREAM |
---|
27 | # endif |
---|
28 | #endif |
---|
29 | |
---|
30 | #if (__HP_aCC <= 33300) |
---|
31 | // member templates are sufficiently broken that we disable them for now |
---|
32 | # define BOOST_NO_MEMBER_TEMPLATES |
---|
33 | # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS |
---|
34 | # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE |
---|
35 | #endif |
---|
36 | |
---|
37 | #if (__HP_aCC < 60000) |
---|
38 | # define BOOST_NO_UNREACHABLE_RETURN_DETECTION |
---|
39 | # define BOOST_NO_TEMPLATE_TEMPLATES |
---|
40 | # define BOOST_NO_SWPRINTF |
---|
41 | # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS |
---|
42 | # define BOOST_NO_IS_ABSTRACT |
---|
43 | # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS |
---|
44 | #endif |
---|
45 | |
---|
46 | // optional features rather than defects: |
---|
47 | #if (__HP_aCC >= 33900) |
---|
48 | # define BOOST_HAS_LONG_LONG |
---|
49 | # define BOOST_HAS_PARTIAL_STD_ALLOCATOR |
---|
50 | #endif |
---|
51 | |
---|
52 | #if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 ) |
---|
53 | # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD |
---|
54 | #endif |
---|
55 | |
---|
56 | #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC) |
---|
57 | |
---|
58 | // |
---|
59 | // versions check: |
---|
60 | // we don't support HP aCC prior to version 33000: |
---|
61 | #if __HP_aCC < 33000 |
---|
62 | # error "Compiler not supported or configured - please reconfigure" |
---|
63 | #endif |
---|
64 | // |
---|
65 | // last known and checked version is 61300: |
---|
66 | #if (__HP_aCC > 61300) |
---|
67 | # if defined(BOOST_ASSERT_CONFIG) |
---|
68 | # error "Unknown compiler version - please run the configure tests and report the results" |
---|
69 | # endif |
---|
70 | #endif |
---|
71 | |
---|
72 | |
---|