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 //  Sun C++ compiler setup:
9 
10 #    if __SUNPRO_CC >= 0x520
11        //
12        // Sunpro 5.1 and later:
13        //
14        // although sunpro 5.1 supports the syntax for
15        // inline initialization it often gets the value
16        // wrong, especially where the value is computed
17        // from other constants (J Maddock 6th May 2001)
18 #      define BOOST_NO_INCLASS_MEMBER_INITIALIZATION
19        // although sunpro 5.1 supports the syntax for
20        // partial specialization, it often seems to
21        // bind to the wrong specialization.  Better
22        // to disable it until suppport becomes more stable
23        // (J Maddock 6th May 2001).
24 #      define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
25 
26        // integral constant expressions with 64 bit numbers fail
27 #      define BOOST_NO_INTEGRAL_INT64_T
28 #    endif
29 #    if __SUNPRO_CC <= 0x500
30 #      define BOOST_NO_MEMBER_TEMPLATES
31 #      define BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
32 #    endif
33 
34 #define BOOST_COMPILER "Sun compiler version " BOOST_STRINGIZE(__SUNPRO_CC)
35 
36 //
37 // versions check:
38 // we don't support sunpro prior to version 4:
39 #if __SUNPRO_CC < 0x400
40 #error "Compiler not supported or configured - please reconfigure"
41 #endif
42 //
43 // last known and checked version is 0x520:
44 #if (__SUNPRO_CC > 0x520)
45 #  if defined(BOOST_ASSERT_CONFIG)
46 #     error "Unknown compiler version - please run the configure tests and report the results"
47 #  endif
48 #endif
49 
50 
51