1 // (C) Copyright John Maddock 2001 - 2003.
\r
2 // (C) Copyright Jens Maurer 2001 - 2003.
\r
3 // (C) Copyright Aleksey Gurtovoy 2002.
\r
4 // (C) Copyright David Abrahams 2002 - 2003.
\r
5 // (C) Copyright Toon Knapen 2003.
\r
6 // (C) Copyright Boris Gubenko 2006 - 2007.
\r
7 // Use, modification and distribution are subject to the
\r
8 // Boost Software License, Version 1.0. (See accompanying file
\r
9 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
11 // See http://www.boost.org for most recent version.
\r
13 // HP aCC C++ compiler setup:
\r
15 #if defined(__EDG__)
\r
16 #include "boost/config/compiler/common_edg.hpp"
\r
19 #if (__HP_aCC <= 33100)
\r
20 # define BOOST_NO_INTEGRAL_INT64_T
\r
21 # define BOOST_NO_OPERATORS_IN_NAMESPACE
\r
22 # if !defined(_NAMESPACE_STD)
\r
23 # define BOOST_NO_STD_LOCALE
\r
24 # define BOOST_NO_STRINGSTREAM
\r
28 #if (__HP_aCC <= 33300)
\r
29 // member templates are sufficiently broken that we disable them for now
\r
30 # define BOOST_NO_MEMBER_TEMPLATES
\r
31 # define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
\r
32 # define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
\r
35 #if (__HP_aCC <= 38000)
\r
36 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
\r
39 #if (__HP_aCC > 50000) && (__HP_aCC < 60000)
\r
40 # define BOOST_NO_UNREACHABLE_RETURN_DETECTION
\r
41 # define BOOST_NO_TEMPLATE_TEMPLATES
\r
42 # define BOOST_NO_SWPRINTF
\r
43 # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
\r
44 # define BOOST_NO_IS_ABSTRACT
\r
45 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
\r
48 // optional features rather than defects:
\r
49 #if (__HP_aCC >= 33900)
\r
50 # define BOOST_HAS_LONG_LONG
\r
51 # define BOOST_HAS_PARTIAL_STD_ALLOCATOR
\r
54 #if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 )
\r
55 # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
\r
58 // This macro should not be defined when compiling in strict ansi
\r
59 // mode, but, currently, we don't have the ability to determine
\r
60 // what standard mode we are compiling with. Some future version
\r
61 // of aCC6 compiler will provide predefined macros reflecting the
\r
62 // compilation options, including the standard mode.
\r
63 #if (__HP_aCC >= 60000) || ((__HP_aCC > 38000) && defined(__hpxstd98))
\r
64 # define BOOST_NO_TWO_PHASE_NAME_LOOKUP
\r
67 #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
\r
71 // we don't support HP aCC prior to version 33000:
\r
72 #if __HP_aCC < 33000
\r
73 # error "Compiler not supported or configured - please reconfigure"
\r
77 // Extended checks for supporting aCC on PA-RISC
\r
78 #if __HP_aCC > 30000 && __HP_aCC < 50000
\r
79 # if __HP_aCC < 38000
\r
80 // versions prior to version A.03.80 not supported
\r
81 # error "Compiler version not supported - version A.03.80 or higher is required"
\r
82 # elif !defined(__hpxstd98)
\r
83 // must compile using the option +hpxstd98 with version A.03.80 and above
\r
84 # error "Compiler option '+hpxstd98' is required for proper support"
\r
91 // See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
\r
93 #if !defined(__EDG__)
\r
95 #define BOOST_NO_AUTO_DECLARATIONS
\r
96 #define BOOST_NO_AUTO_MULTIDECLARATIONS
\r
97 #define BOOST_NO_CHAR16_T
\r
98 #define BOOST_NO_CHAR32_T
\r
99 #define BOOST_NO_CONCEPTS
\r
100 #define BOOST_NO_CONSTEXPR
\r
101 #define BOOST_NO_DECLTYPE
\r
102 #define BOOST_NO_DEFAULTED_FUNCTIONS
\r
103 #define BOOST_NO_DELETED_FUNCTIONS
\r
104 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
\r
105 #define BOOST_NO_EXTERN_TEMPLATE
\r
106 #define BOOST_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
\r
107 #define BOOST_NO_INITIALIZER_LISTS
\r
108 #define BOOST_NO_LAMBDAS
\r
109 #define BOOST_NO_NULLPTR
\r
110 #define BOOST_NO_RAW_LITERALS
\r
111 #define BOOST_NO_RVALUE_REFERENCES
\r
112 #define BOOST_NO_SCOPED_ENUMS
\r
113 #define BOOST_NO_SFINAE_EXPR
\r
114 #define BOOST_NO_STATIC_ASSERT
\r
115 #define BOOST_NO_TEMPLATE_ALIASES
\r
116 #define BOOST_NO_UNICODE_LITERALS
\r
117 #define BOOST_NO_VARIADIC_TEMPLATES
\r
121 // last known and checked version for HP-UX/ia64 is 61300
\r
122 // last known and checked version for PA-RISC is 38000
\r
123 #if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
\r
124 # if defined(BOOST_ASSERT_CONFIG)
\r
125 # error "Unknown compiler version - please run the configure tests and report the results"
\r