os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/comeau.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/comeau.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,59 @@
     1.4 +//  (C) Copyright John Maddock 2001. 
     1.5 +//  (C) Copyright Douglas Gregor 2001. 
     1.6 +//  (C) Copyright Peter Dimov 2001. 
     1.7 +//  (C) Copyright Aleksey Gurtovoy 2003. 
     1.8 +//  (C) Copyright Beman Dawes 2003. 
     1.9 +//  (C) Copyright Jens Maurer 2003. 
    1.10 +//  Use, modification and distribution are subject to the 
    1.11 +//  Boost Software License, Version 1.0. (See accompanying file 
    1.12 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.13 +
    1.14 +//  See http://www.boost.org for most recent version.
    1.15 +
    1.16 +//  Comeau C++ compiler setup:
    1.17 +
    1.18 +#include "boost/config/compiler/common_edg.hpp"
    1.19 +
    1.20 +#if (__COMO_VERSION__ <= 4245)
    1.21 +
    1.22 +#  if defined(_MSC_VER) && _MSC_VER <= 1300
    1.23 +#     if _MSC_VER > 100
    1.24 +         // only set this in non-strict mode:
    1.25 +#        define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
    1.26 +#     endif
    1.27 +#  endif
    1.28 +
    1.29 +// Void returns don't work when emulating VC 6 (Peter Dimov)
    1.30 +// TODO: look up if this doesn't apply to the whole 12xx range
    1.31 +#  if defined(_MSC_VER) && (_MSC_VER < 1300)
    1.32 +#     define BOOST_NO_VOID_RETURNS
    1.33 +#  endif
    1.34 +
    1.35 +#endif  // version 4245
    1.36 +
    1.37 +//
    1.38 +// enable __int64 support in VC emulation mode
    1.39 +//
    1.40 +#  if defined(_MSC_VER) && (_MSC_VER >= 1200)
    1.41 +#     define BOOST_HAS_MS_INT64
    1.42 +#  endif
    1.43 +
    1.44 +#define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__)
    1.45 +
    1.46 +//
    1.47 +// versions check:
    1.48 +// we don't know Comeau prior to version 4245:
    1.49 +#if __COMO_VERSION__ < 4245
    1.50 +#  error "Compiler not configured - please reconfigure"
    1.51 +#endif
    1.52 +//
    1.53 +// last known and checked version is 4245:
    1.54 +#if (__COMO_VERSION__ > 4245)
    1.55 +#  if defined(BOOST_ASSERT_CONFIG)
    1.56 +#     error "Unknown compiler version - please run the configure tests and report the results"
    1.57 +#  endif
    1.58 +#endif
    1.59 +
    1.60 +
    1.61 +
    1.62 +