Chris@16
|
1 // (C) Copyright John Maddock 2001 - 2003.
|
Chris@16
|
2 // (C) Copyright Jens Maurer 2001 - 2003.
|
Chris@16
|
3 // (C) Copyright Aleksey Gurtovoy 2002.
|
Chris@16
|
4 // (C) Copyright David Abrahams 2002 - 2003.
|
Chris@16
|
5 // (C) Copyright Toon Knapen 2003.
|
Chris@16
|
6 // (C) Copyright Boris Gubenko 2006 - 2007.
|
Chris@16
|
7 // Use, modification and distribution are subject to the
|
Chris@16
|
8 // Boost Software License, Version 1.0. (See accompanying file
|
Chris@16
|
9 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
10
|
Chris@16
|
11 // See http://www.boost.org for most recent version.
|
Chris@16
|
12
|
Chris@16
|
13 // HP aCC C++ compiler setup:
|
Chris@16
|
14
|
Chris@16
|
15 #if defined(__EDG__)
|
Chris@16
|
16 #include "boost/config/compiler/common_edg.hpp"
|
Chris@16
|
17 #endif
|
Chris@16
|
18
|
Chris@16
|
19 #if (__HP_aCC <= 33100)
|
Chris@16
|
20 # define BOOST_NO_INTEGRAL_INT64_T
|
Chris@16
|
21 # define BOOST_NO_OPERATORS_IN_NAMESPACE
|
Chris@16
|
22 # if !defined(_NAMESPACE_STD)
|
Chris@16
|
23 # define BOOST_NO_STD_LOCALE
|
Chris@16
|
24 # define BOOST_NO_STRINGSTREAM
|
Chris@16
|
25 # endif
|
Chris@16
|
26 #endif
|
Chris@16
|
27
|
Chris@16
|
28 #if (__HP_aCC <= 33300)
|
Chris@16
|
29 // member templates are sufficiently broken that we disable them for now
|
Chris@16
|
30 # define BOOST_NO_MEMBER_TEMPLATES
|
Chris@16
|
31 # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
|
Chris@16
|
32 # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
Chris@16
|
33 #endif
|
Chris@16
|
34
|
Chris@16
|
35 #if (__HP_aCC <= 38000)
|
Chris@16
|
36 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
Chris@16
|
37 #endif
|
Chris@16
|
38
|
Chris@16
|
39 #if (__HP_aCC > 50000) && (__HP_aCC < 60000)
|
Chris@16
|
40 # define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
Chris@16
|
41 # define BOOST_NO_TEMPLATE_TEMPLATES
|
Chris@16
|
42 # define BOOST_NO_SWPRINTF
|
Chris@16
|
43 # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
Chris@16
|
44 # define BOOST_NO_IS_ABSTRACT
|
Chris@16
|
45 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
Chris@16
|
46 #endif
|
Chris@16
|
47
|
Chris@16
|
48 // optional features rather than defects:
|
Chris@16
|
49 #if (__HP_aCC >= 33900)
|
Chris@16
|
50 # define BOOST_HAS_LONG_LONG
|
Chris@16
|
51 # define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
Chris@16
|
52 #endif
|
Chris@16
|
53
|
Chris@16
|
54 #if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 )
|
Chris@16
|
55 # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
|
Chris@16
|
56 #endif
|
Chris@16
|
57
|
Chris@16
|
58 // This macro should not be defined when compiling in strict ansi
|
Chris@16
|
59 // mode, but, currently, we don't have the ability to determine
|
Chris@16
|
60 // what standard mode we are compiling with. Some future version
|
Chris@16
|
61 // of aCC6 compiler will provide predefined macros reflecting the
|
Chris@16
|
62 // compilation options, including the standard mode.
|
Chris@16
|
63 #if (__HP_aCC >= 60000) || ((__HP_aCC > 38000) && defined(__hpxstd98))
|
Chris@16
|
64 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
|
Chris@16
|
65 #endif
|
Chris@16
|
66
|
Chris@16
|
67 #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
|
Chris@16
|
68
|
Chris@16
|
69 //
|
Chris@16
|
70 // versions check:
|
Chris@16
|
71 // we don't support HP aCC prior to version 33000:
|
Chris@16
|
72 #if __HP_aCC < 33000
|
Chris@16
|
73 # error "Compiler not supported or configured - please reconfigure"
|
Chris@16
|
74 #endif
|
Chris@16
|
75
|
Chris@16
|
76 //
|
Chris@16
|
77 // Extended checks for supporting aCC on PA-RISC
|
Chris@16
|
78 #if __HP_aCC > 30000 && __HP_aCC < 50000
|
Chris@16
|
79 # if __HP_aCC < 38000
|
Chris@16
|
80 // versions prior to version A.03.80 not supported
|
Chris@16
|
81 # error "Compiler version not supported - version A.03.80 or higher is required"
|
Chris@16
|
82 # elif !defined(__hpxstd98)
|
Chris@16
|
83 // must compile using the option +hpxstd98 with version A.03.80 and above
|
Chris@16
|
84 # error "Compiler option '+hpxstd98' is required for proper support"
|
Chris@16
|
85 # endif //PA-RISC
|
Chris@16
|
86 #endif
|
Chris@16
|
87
|
Chris@16
|
88 //
|
Chris@16
|
89 // C++0x features
|
Chris@16
|
90 //
|
Chris@16
|
91 // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
|
Chris@16
|
92 //
|
Chris@16
|
93 #if !defined(__EDG__)
|
Chris@16
|
94
|
Chris@16
|
95 #define BOOST_NO_CXX11_AUTO_DECLARATIONS
|
Chris@16
|
96 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
|
Chris@16
|
97 #define BOOST_NO_CXX11_CHAR16_T
|
Chris@16
|
98 #define BOOST_NO_CXX11_CHAR32_T
|
Chris@16
|
99 #define BOOST_NO_CXX11_CONSTEXPR
|
Chris@16
|
100 #define BOOST_NO_CXX11_DECLTYPE
|
Chris@16
|
101 #define BOOST_NO_CXX11_DECLTYPE_N3276
|
Chris@16
|
102 #define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
|
Chris@16
|
103 #define BOOST_NO_CXX11_DELETED_FUNCTIONS
|
Chris@16
|
104 #define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
|
Chris@16
|
105 #define BOOST_NO_CXX11_EXTERN_TEMPLATE
|
Chris@16
|
106 #define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS
|
Chris@16
|
107 #define BOOST_NO_CXX11_HDR_INITIALIZER_LIST
|
Chris@16
|
108 #define BOOST_NO_CXX11_LAMBDAS
|
Chris@16
|
109 #define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS
|
Chris@16
|
110 #define BOOST_NO_CXX11_NOEXCEPT
|
Chris@16
|
111 #define BOOST_NO_CXX11_NULLPTR
|
Chris@16
|
112 #define BOOST_NO_CXX11_RANGE_BASED_FOR
|
Chris@16
|
113 #define BOOST_NO_CXX11_RAW_LITERALS
|
Chris@16
|
114 #define BOOST_NO_CXX11_RVALUE_REFERENCES
|
Chris@16
|
115 #define BOOST_NO_CXX11_SCOPED_ENUMS
|
Chris@16
|
116 #define BOOST_NO_SFINAE_EXPR
|
Chris@16
|
117 #define BOOST_NO_CXX11_STATIC_ASSERT
|
Chris@16
|
118 #define BOOST_NO_CXX11_TEMPLATE_ALIASES
|
Chris@16
|
119 #define BOOST_NO_CXX11_UNICODE_LITERALS
|
Chris@16
|
120 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
Chris@16
|
121 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS
|
Chris@16
|
122 #define BOOST_NO_CXX11_ALIGNAS
|
Chris@16
|
123 #define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
Chris@16
|
124 #define BOOST_NO_CXX11_INLINE_NAMESPACES
|
Chris@101
|
125 #define BOOST_NO_CXX11_REF_QUALIFIERS
|
Chris@16
|
126
|
Chris@16
|
127 /*
|
Chris@16
|
128 See https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443331 and
|
Chris@16
|
129 https://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1443436
|
Chris@16
|
130 */
|
Chris@16
|
131
|
Chris@16
|
132 #if (__HP_aCC < 62500) || !defined(HP_CXX0x_SOURCE)
|
Chris@16
|
133 #define BOOST_NO_CXX11_VARIADIC_MACROS
|
Chris@16
|
134 #endif
|
Chris@16
|
135
|
Chris@16
|
136 #endif
|
Chris@16
|
137
|
Chris@16
|
138 //
|
Chris@16
|
139 // last known and checked version for HP-UX/ia64 is 61300
|
Chris@16
|
140 // last known and checked version for PA-RISC is 38000
|
Chris@16
|
141 #if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
|
Chris@16
|
142 # if defined(BOOST_ASSERT_CONFIG)
|
Chris@16
|
143 # error "Unknown compiler version - please run the configure tests and report the results"
|
Chris@16
|
144 # endif
|
Chris@16
|
145 #endif
|