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.
6
// See http://www.boost.org for most recent version.
8
// Sun C++ compiler setup:
10
# if __SUNPRO_CC <= 0x500
11
# define BOOST_NO_MEMBER_TEMPLATES
12
# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
15
# if (__SUNPRO_CC <= 0x520)
17
// Sunpro 5.2 and earler:
19
// although sunpro 5.2 supports the syntax for
20
// inline initialization it often gets the value
21
// wrong, especially where the value is computed
22
// from other constants (J Maddock 6th May 2001)
23
# define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
25
// Although sunpro 5.2 supports the syntax for
26
// partial specialization, it often seems to
27
// bind to the wrong specialization. Better
28
// to disable it until suppport becomes more stable
29
// (J Maddock 6th May 2001).
30
# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
33
# if (__SUNPRO_CC <= 0x530) || !defined(BOOST_STRICT_CONFIG)
34
// SunPro 5.3 has better support for partial specialization,
35
// but breaks when compiling std::less<shared_ptr<T> >
36
// (Jens Maurer 4 Nov 2001).
38
// std::less specialization fixed as reported by George
39
// Heintzelman; partial specialization re-enabled
40
// (Peter Dimov 17 Jan 2002)
42
//# define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
44
// integral constant expressions with 64 bit numbers fail
45
# define BOOST_NO_INTEGRAL_INT64_T
48
# if (__SUNPRO_CC <= 0x540) || !defined(BOOST_STRICT_CONFIG)
49
# define BOOST_NO_TEMPLATE_TEMPLATES
52
#define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
56
// we don't support sunpro prior to version 4:
57
#if __SUNPRO_CC < 0x400
58
#error "Compiler not supported or configured - please reconfigure"
61
// last known and checked version is 0x530:
62
#if (__SUNPRO_CC > 0x530)
63
# if defined(BOOST_ASSERT_CONFIG)
64
# error "Unknown compiler version - please run the configure tests and report the results"