forked from boostorg/config
Update HP aCC config and move header include outside namespace declarations (with thanks to Boris Gubenko for providing and testing these).
[SVN r35807]
This commit is contained in:
@ -3,6 +3,7 @@
|
|||||||
// (C) Copyright Aleksey Gurtovoy 2002.
|
// (C) Copyright Aleksey Gurtovoy 2002.
|
||||||
// (C) Copyright David Abrahams 2002 - 2003.
|
// (C) Copyright David Abrahams 2002 - 2003.
|
||||||
// (C) Copyright Toon Knapen 2003.
|
// (C) Copyright Toon Knapen 2003.
|
||||||
|
// (C) Copyright Boris Gubenko 2006.
|
||||||
// Use, modification and distribution are subject to the
|
// Use, modification and distribution are subject to the
|
||||||
// Boost Software License, Version 1.0. (See accompanying file
|
// Boost Software License, Version 1.0. (See accompanying file
|
||||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
@ -11,6 +12,10 @@
|
|||||||
|
|
||||||
// HP aCC C++ compiler setup:
|
// HP aCC C++ compiler setup:
|
||||||
|
|
||||||
|
#if (__HP_aCC >= 61200) && defined(__EDG__)
|
||||||
|
#include "boost/config/compiler/common_edg.hpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (__HP_aCC <= 33100)
|
#if (__HP_aCC <= 33100)
|
||||||
# define BOOST_NO_INTEGRAL_INT64_T
|
# define BOOST_NO_INTEGRAL_INT64_T
|
||||||
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
# define BOOST_NO_OPERATORS_IN_NAMESPACE
|
||||||
@ -27,16 +32,13 @@
|
|||||||
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
# define BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// This version check is way to high, but we don't know the right one to use:
|
#if (__HP_aCC < 60000)
|
||||||
#if (__HP_aCC < 60700)
|
|
||||||
# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
|
||||||
# define BOOST_NO_TEMPLATE_TEMPLATES
|
# define BOOST_NO_TEMPLATE_TEMPLATES
|
||||||
# define BOOST_NO_SWPRINTF
|
# define BOOST_NO_SWPRINTF
|
||||||
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
|
||||||
# define BOOST_NO_IS_ABSTRACT
|
# define BOOST_NO_IS_ABSTRACT
|
||||||
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
|
||||||
// std lib config should set this one already:
|
|
||||||
//# define BOOST_NO_STD_ALLOCATOR
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// optional features rather than defects:
|
// optional features rather than defects:
|
||||||
@ -53,13 +55,13 @@
|
|||||||
|
|
||||||
//
|
//
|
||||||
// versions check:
|
// versions check:
|
||||||
// we don't support HP aCC prior to version 0:
|
// we don't support HP aCC prior to version 33000:
|
||||||
#if __HP_aCC < 33000
|
#if __HP_aCC < 33000
|
||||||
# error "Compiler not supported or configured - please reconfigure"
|
# error "Compiler not supported or configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// last known and checked version is 0:
|
// last known and checked version is 61300:
|
||||||
#if (__HP_aCC > 53800)
|
#if (__HP_aCC > 61300)
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user