Chris@16
|
1 // (C) Copyright John Maddock 2001.
|
Chris@16
|
2 // (C) Copyright Douglas Gregor 2001.
|
Chris@16
|
3 // (C) Copyright Peter Dimov 2001.
|
Chris@16
|
4 // (C) Copyright Aleksey Gurtovoy 2003.
|
Chris@16
|
5 // (C) Copyright Beman Dawes 2003.
|
Chris@16
|
6 // (C) Copyright Jens Maurer 2003.
|
Chris@16
|
7 // Use, modification and distribution are subject to the
|
Chris@16
|
8 // Boost Software License, Version 1.0. (See accompanying file
|
Chris@16
|
9 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
10
|
Chris@16
|
11 // See http://www.boost.org for most recent version.
|
Chris@16
|
12
|
Chris@16
|
13 // Comeau C++ compiler setup:
|
Chris@16
|
14
|
Chris@16
|
15 #include "boost/config/compiler/common_edg.hpp"
|
Chris@16
|
16
|
Chris@16
|
17 #if (__COMO_VERSION__ <= 4245)
|
Chris@16
|
18
|
Chris@16
|
19 # if defined(_MSC_VER) && _MSC_VER <= 1300
|
Chris@16
|
20 # if _MSC_VER > 100
|
Chris@16
|
21 // only set this in non-strict mode:
|
Chris@16
|
22 # define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
|
Chris@16
|
23 # endif
|
Chris@16
|
24 # endif
|
Chris@16
|
25
|
Chris@16
|
26 // Void returns don't work when emulating VC 6 (Peter Dimov)
|
Chris@16
|
27 // TODO: look up if this doesn't apply to the whole 12xx range
|
Chris@16
|
28 # if defined(_MSC_VER) && (_MSC_VER < 1300)
|
Chris@16
|
29 # define BOOST_NO_VOID_RETURNS
|
Chris@16
|
30 # endif
|
Chris@16
|
31
|
Chris@16
|
32 #endif // version 4245
|
Chris@16
|
33
|
Chris@16
|
34 //
|
Chris@16
|
35 // enable __int64 support in VC emulation mode
|
Chris@16
|
36 //
|
Chris@16
|
37 # if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
Chris@16
|
38 # define BOOST_HAS_MS_INT64
|
Chris@16
|
39 # endif
|
Chris@16
|
40
|
Chris@16
|
41 #define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__)
|
Chris@16
|
42
|
Chris@16
|
43 //
|
Chris@16
|
44 // versions check:
|
Chris@16
|
45 // we don't know Comeau prior to version 4245:
|
Chris@16
|
46 #if __COMO_VERSION__ < 4245
|
Chris@16
|
47 # error "Compiler not configured - please reconfigure"
|
Chris@16
|
48 #endif
|
Chris@16
|
49 //
|
Chris@16
|
50 // last known and checked version is 4245:
|
Chris@16
|
51 #if (__COMO_VERSION__ > 4245)
|
Chris@16
|
52 # if defined(BOOST_ASSERT_CONFIG)
|
Chris@16
|
53 # error "Unknown compiler version - please run the configure tests and report the results"
|
Chris@16
|
54 # endif
|
Chris@16
|
55 #endif
|
Chris@16
|
56
|
Chris@16
|
57
|
Chris@16
|
58
|
Chris@16
|
59
|