hp_acc.hpp
Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001 - 2003. 
00002 //  (C) Copyright Jens Maurer 2001 - 2003. 
00003 //  (C) Copyright Aleksey Gurtovoy 2002. 
00004 //  (C) Copyright David Abrahams 2002 - 2003. 
00005 //  (C) Copyright Toon Knapen 2003. 
00006 //  (C) Copyright Boris Gubenko 2006 - 2007.
00007 //  Use, modification and distribution are subject to the 
00008 //  Boost Software License, Version 1.0. (See accompanying file 
00009 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00010 
00011 //  See http://www.boost.org for most recent version.
00012 
00013 //  HP aCC C++ compiler setup:
00014 
00015 #if defined(__EDG__)
00016 #include "boost/config/compiler/common_edg.hpp"
00017 #endif
00018 
00019 #if (__HP_aCC <= 33100)
00020 #    define BOOST_NO_INTEGRAL_INT64_T
00021 #    define BOOST_NO_OPERATORS_IN_NAMESPACE
00022 #  if !defined(_NAMESPACE_STD)
00023 #     define BOOST_NO_STD_LOCALE
00024 #     define BOOST_NO_STRINGSTREAM
00025 #  endif
00026 #endif
00027 
00028 #if (__HP_aCC <= 33300)
00029 // member templates are sufficiently broken that we disable them for now
00030 #    define BOOST_NO_MEMBER_TEMPLATES
00031 #    define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
00032 #    define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
00033 #endif
00034 
00035 #if (__HP_aCC <= 38000)
00036 #  define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00037 #endif
00038 
00039 #if (__HP_aCC > 50000) && (__HP_aCC < 60000)
00040 #    define BOOST_NO_UNREACHABLE_RETURN_DETECTION
00041 #    define BOOST_NO_TEMPLATE_TEMPLATES
00042 #    define BOOST_NO_SWPRINTF
00043 #    define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
00044 #    define BOOST_NO_IS_ABSTRACT
00045 #    define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
00046 #endif 
00047 
00048 // optional features rather than defects:
00049 #if (__HP_aCC >= 33900)
00050 #    define BOOST_HAS_LONG_LONG
00051 #    define BOOST_HAS_PARTIAL_STD_ALLOCATOR
00052 #endif
00053 
00054 #if (__HP_aCC >= 50000 ) && (__HP_aCC <= 53800 ) || (__HP_aCC < 31300 )
00055 #    define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
00056 #endif
00057 
00058 // This macro should not be defined when compiling in strict ansi
00059 // mode, but, currently, we don't have the ability to determine
00060 // what standard mode we are compiling with. Some future version
00061 // of aCC6 compiler will provide predefined macros reflecting the
00062 // compilation options, including the standard mode.
00063 #if (__HP_aCC >= 60000) || ((__HP_aCC > 38000) && defined(__hpxstd98))
00064 #    define BOOST_NO_TWO_PHASE_NAME_LOOKUP
00065 #endif
00066 
00067 #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
00068 
00069 //
00070 // versions check:
00071 // we don't support HP aCC prior to version 33000:
00072 #if __HP_aCC < 33000
00073 #  error "Compiler not supported or configured - please reconfigure"
00074 #endif
00075 
00076 //
00077 // Extended checks for supporting aCC on PA-RISC
00078 #if __HP_aCC > 30000 && __HP_aCC < 50000
00079 #  if __HP_aCC < 38000
00080       // versions prior to version A.03.80 not supported
00081 #     error "Compiler version not supported - version A.03.80 or higher is required"
00082 #  elif !defined(__hpxstd98)
00083       // must compile using the option +hpxstd98 with version A.03.80 and above
00084 #     error "Compiler option '+hpxstd98' is required for proper support"
00085 #  endif //PA-RISC
00086 #endif
00087 
00088 //
00089 // C++0x features
00090 //
00091 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
00092 //
00093 #define BOOST_NO_CHAR16_T
00094 #define BOOST_NO_CHAR32_T
00095 #define BOOST_NO_CONSTEXPR
00096 #define BOOST_NO_DECLTYPE
00097 #define BOOST_NO_DEFAULTED_FUNCTIONS
00098 #define BOOST_NO_DELETED_FUNCTIONS
00099 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
00100 #define BOOST_NO_EXTERN_TEMPLATE
00101 #define BOOST_NO_RAW_LITERALS
00102 #define BOOST_NO_RVALUE_REFERENCES
00103 #define BOOST_NO_SCOPED_ENUMS
00104 #define BOOST_NO_STATIC_ASSERT
00105 #define BOOST_NO_UNICODE_LITERALS
00106 #define BOOST_NO_VARIADIC_TEMPLATES
00107 #define BOOST_NO_AUTO_DECLARATIONS
00108 #define BOOST_NO_AUTO_MULTIDECLARATIONS
00109 
00110 //
00111 // last known and checked version for HP-UX/ia64 is 61300
00112 // last known and checked version for PA-RISC is 38000
00113 #if ((__HP_aCC > 61300) || ((__HP_aCC > 38000) && defined(__hpxstd98)))
00114 #  if defined(BOOST_ASSERT_CONFIG)
00115 #     error "Unknown compiler version - please run the configure tests and report the results"
00116 #  endif
00117 #endif


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29