1 // (C) Copyright Boost.org 2001. Permission to copy, use, modify, sell and 2 // distribute this software is granted provided this copyright notice appears 3 // in all copies. This software is provided "as is" without express or implied 4 // warranty, and with no claim as to its suitability for any purpose. 5 6 // See http://www.boost.org for most recent version. 7 8 // Metrowerks C++ compiler setup: 9 10 # if __MWERKS__ <= 0x2301 // 5.3 11 # define BOOST_NO_FUNCTION_TEMPLATE_ORDERING 12 # define BOOST_NO_POINTER_TO_MEMBER_CONST 13 # define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS 14 # define BOOST_NO_MEMBER_TEMPLATE_KEYWORD 15 # endif 16 17 # if __MWERKS__ <= 0x2401 // 6.2 18 //# define BOOST_NO_FUNCTION_TEMPLATE_ORDERING 19 # endif 20 21 # if(__MWERKS__ <= 0x2405) || !defined(BOOST_STRICT_CONFIG) // 7.0 22 # define BOOST_NO_MEMBER_TEMPLATE_FRIENDS 23 # endif 24 25 #if !__option(wchar_type) 26 # define BOOST_NO_INTRINSIC_WCHAR_T 27 #endif 28 29 30 #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(__MWERKS__) 31 32 // 33 // versions check: 34 // we don't support Metrowerks prior to version 5.3: 35 #if __MWERKS__ < 0x2301 36 # error "Compiler not supported or configured - please reconfigure" 37 #endif 38 // 39 // last known and checked version is 0x2405: 40 #if (__MWERKS__ > 0x2405) 41 # if defined(BOOST_ASSERT_CONFIG) 42 # error "Unknown compiler version - please run the configure tests and report the results" 43 # endif 44 #endif 45 46 47 48 49 50 51