sl@0: // (C) Copyright John Maddock 2001. sl@0: // (C) Copyright Darin Adler 2001. sl@0: // (C) Copyright Peter Dimov 2001. sl@0: // (C) Copyright David Abrahams 2001 - 2002. sl@0: // (C) Copyright Beman Dawes 2001 - 2003. sl@0: // (C) Copyright Stefan Slapeta 2004. sl@0: // Use, modification and distribution are subject to the sl@0: // Boost Software License, Version 1.0. (See accompanying file sl@0: // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) sl@0: sl@0: // See http://www.boost.org for most recent version. sl@0: sl@0: // Metrowerks C++ compiler setup: sl@0: sl@0: // locale support is disabled when linking with the dynamic runtime sl@0: # ifdef _MSL_NO_LOCALE sl@0: # define BOOST_NO_STD_LOCALE sl@0: # endif sl@0: sl@0: # if __MWERKS__ <= 0x2301 // 5.3 sl@0: # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING sl@0: # define BOOST_NO_POINTER_TO_MEMBER_CONST sl@0: # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS sl@0: # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD sl@0: # endif sl@0: sl@0: # if __MWERKS__ <= 0x2401 // 6.2 sl@0: //# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING sl@0: # endif sl@0: sl@0: # if(__MWERKS__ <= 0x2407) // 7.x sl@0: # define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS sl@0: # define BOOST_NO_UNREACHABLE_RETURN_DETECTION sl@0: # endif sl@0: sl@0: # if(__MWERKS__ <= 0x3003) // 8.x sl@0: # define BOOST_NO_SFINAE sl@0: # endif sl@0: sl@0: // the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last sl@0: // tested version *only*: sl@0: # if(__MWERKS__ <= 0x3206) || !defined(BOOST_STRICT_CONFIG) // 9.5 sl@0: # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS sl@0: # define BOOST_NO_IS_ABSTRACT sl@0: # endif sl@0: sl@0: #if !__option(wchar_type) sl@0: # define BOOST_NO_INTRINSIC_WCHAR_T sl@0: #endif sl@0: sl@0: #if !__option(exceptions) sl@0: # define BOOST_NO_EXCEPTIONS sl@0: #endif sl@0: sl@0: #if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh) sl@0: # if __MWERKS__ == 0x3000 sl@0: # define BOOST_COMPILER_VERSION 8.0 sl@0: # elif __MWERKS__ == 0x3001 sl@0: # define BOOST_COMPILER_VERSION 8.1 sl@0: # elif __MWERKS__ == 0x3002 sl@0: # define BOOST_COMPILER_VERSION 8.2 sl@0: # elif __MWERKS__ == 0x3003 sl@0: # define BOOST_COMPILER_VERSION 8.3 sl@0: # elif __MWERKS__ == 0x3200 sl@0: # define BOOST_COMPILER_VERSION 9.0 sl@0: # elif __MWERKS__ == 0x3201 sl@0: # define BOOST_COMPILER_VERSION 9.1 sl@0: # elif __MWERKS__ == 0x3202 sl@0: # define BOOST_COMPILER_VERSION 9.2 sl@0: # elif __MWERKS__ == 0x3204 sl@0: # define BOOST_COMPILER_VERSION 9.3 sl@0: # elif __MWERKS__ == 0x3205 sl@0: # define BOOST_COMPILER_VERSION 9.4 sl@0: # elif __MWERKS__ == 0x3206 sl@0: # define BOOST_COMPILER_VERSION 9.5 sl@0: # else sl@0: # define BOOST_COMPILER_VERSION __MWERKS__ sl@0: # endif sl@0: #else sl@0: # define BOOST_COMPILER_VERSION __MWERKS__ sl@0: #endif sl@0: sl@0: #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION) sl@0: sl@0: // sl@0: // versions check: sl@0: // we don't support Metrowerks prior to version 5.3: sl@0: #if __MWERKS__ < 0x2301 sl@0: # error "Compiler not supported or configured - please reconfigure" sl@0: #endif sl@0: // sl@0: // last known and checked version: sl@0: #if (__MWERKS__ > 0x3205) sl@0: # if defined(BOOST_ASSERT_CONFIG) sl@0: # error "Unknown compiler version - please run the configure tests and report the results" sl@0: # endif sl@0: #endif sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: