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