1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/config/compiler/metrowerks.hpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,104 @@
1.4 +// (C) Copyright John Maddock 2001.
1.5 +// (C) Copyright Darin Adler 2001.
1.6 +// (C) Copyright Peter Dimov 2001.
1.7 +// (C) Copyright David Abrahams 2001 - 2002.
1.8 +// (C) Copyright Beman Dawes 2001 - 2003.
1.9 +// (C) Copyright Stefan Slapeta 2004.
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 +// Metrowerks C++ compiler setup:
1.17 +
1.18 +// locale support is disabled when linking with the dynamic runtime
1.19 +# ifdef _MSL_NO_LOCALE
1.20 +# define BOOST_NO_STD_LOCALE
1.21 +# endif
1.22 +
1.23 +# if __MWERKS__ <= 0x2301 // 5.3
1.24 +# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
1.25 +# define BOOST_NO_POINTER_TO_MEMBER_CONST
1.26 +# define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
1.27 +# define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
1.28 +# endif
1.29 +
1.30 +# if __MWERKS__ <= 0x2401 // 6.2
1.31 +//# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
1.32 +# endif
1.33 +
1.34 +# if(__MWERKS__ <= 0x2407) // 7.x
1.35 +# define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
1.36 +# define BOOST_NO_UNREACHABLE_RETURN_DETECTION
1.37 +# endif
1.38 +
1.39 +# if(__MWERKS__ <= 0x3003) // 8.x
1.40 +# define BOOST_NO_SFINAE
1.41 +# endif
1.42 +
1.43 +// the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last
1.44 +// tested version *only*:
1.45 +# if(__MWERKS__ <= 0x3206) || !defined(BOOST_STRICT_CONFIG) // 9.5
1.46 +# define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
1.47 +# define BOOST_NO_IS_ABSTRACT
1.48 +# endif
1.49 +
1.50 +#if !__option(wchar_type)
1.51 +# define BOOST_NO_INTRINSIC_WCHAR_T
1.52 +#endif
1.53 +
1.54 +#if !__option(exceptions)
1.55 +# define BOOST_NO_EXCEPTIONS
1.56 +#endif
1.57 +
1.58 +#if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
1.59 +# if __MWERKS__ == 0x3000
1.60 +# define BOOST_COMPILER_VERSION 8.0
1.61 +# elif __MWERKS__ == 0x3001
1.62 +# define BOOST_COMPILER_VERSION 8.1
1.63 +# elif __MWERKS__ == 0x3002
1.64 +# define BOOST_COMPILER_VERSION 8.2
1.65 +# elif __MWERKS__ == 0x3003
1.66 +# define BOOST_COMPILER_VERSION 8.3
1.67 +# elif __MWERKS__ == 0x3200
1.68 +# define BOOST_COMPILER_VERSION 9.0
1.69 +# elif __MWERKS__ == 0x3201
1.70 +# define BOOST_COMPILER_VERSION 9.1
1.71 +# elif __MWERKS__ == 0x3202
1.72 +# define BOOST_COMPILER_VERSION 9.2
1.73 +# elif __MWERKS__ == 0x3204
1.74 +# define BOOST_COMPILER_VERSION 9.3
1.75 +# elif __MWERKS__ == 0x3205
1.76 +# define BOOST_COMPILER_VERSION 9.4
1.77 +# elif __MWERKS__ == 0x3206
1.78 +# define BOOST_COMPILER_VERSION 9.5
1.79 +# else
1.80 +# define BOOST_COMPILER_VERSION __MWERKS__
1.81 +# endif
1.82 +#else
1.83 +# define BOOST_COMPILER_VERSION __MWERKS__
1.84 +#endif
1.85 +
1.86 +#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
1.87 +
1.88 +//
1.89 +// versions check:
1.90 +// we don't support Metrowerks prior to version 5.3:
1.91 +#if __MWERKS__ < 0x2301
1.92 +# error "Compiler not supported or configured - please reconfigure"
1.93 +#endif
1.94 +//
1.95 +// last known and checked version:
1.96 +#if (__MWERKS__ > 0x3205)
1.97 +# if defined(BOOST_ASSERT_CONFIG)
1.98 +# error "Unknown compiler version - please run the configure tests and report the results"
1.99 +# endif
1.100 +#endif
1.101 +
1.102 +
1.103 +
1.104 +
1.105 +
1.106 +
1.107 +