]> git.lyx.org Git - lyx.git/blob - boost/boost/config/compiler/hp_acc.hpp
make it compile without exceptions on gcc 2.96
[lyx.git] / boost / boost / config / compiler / hp_acc.hpp
1 //  (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and
2 //  distribute this software is granted provided this copyright notice appears
3 //  in all copies. This software is provided "as is" without express or implied
4 //  warranty, and with no claim as to its suitability for any purpose.
5
6 //  See http://www.boost.org for most recent version.
7
8 //  HP aCC C++ compiler setup:
9
10 #if (__HP_aCC <= 33100)
11 #    define BOOST_NO_INTEGRAL_INT64_T
12 #    define BOOST_NO_OPERATORS_IN_NAMESPACE
13 #  if !defined(_NAMESPACE_STD)
14 #     define BOOST_NO_STD_LOCALE
15 #     define BOOST_NO_STRINGSTREAM
16 #  endif
17 #endif
18
19 #if (__HP_aCC <= 33300) || !defined(BOOST_STRICT_CONFIG)
20 // member templates are sufficiently broken that we disable them for now
21 #    define BOOST_NO_MEMBER_TEMPLATES
22 #    define BOOST_NO_DEPENDENT_NESTED_DERIVATIONS
23 #    define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
24 #endif
25
26 #define BOOST_COMPILER "HP aCC version " BOOST_STRINGIZE(__HP_aCC)
27
28 //
29 // versions check:
30 // we don't support HP aCC prior to version 0:
31 #if __HP_aCC < 33000
32 #  error "Compiler not supported or configured - please reconfigure"
33 #endif
34 //
35 // last known and checked version is 0:
36 #if (__HP_aCC > 33300)
37 #  if defined(BOOST_ASSERT_CONFIG)
38 #     error "Unknown compiler version - please run the configure tests and report the results"
39 #  endif
40 #endif
41