metrowerks.hpp

Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001. 
00002 //  (C) Copyright Darin Adler 2001. 
00003 //  (C) Copyright Peter Dimov 2001. 
00004 //  (C) Copyright David Abrahams 2001 - 2002. 
00005 //  (C) Copyright Beman Dawes 2001 - 2003. 
00006 //  (C) Copyright Stefan Slapeta 2004. 
00007 //  Use, modification and distribution are subject to the 
00008 //  Boost Software License, Version 1.0. (See accompanying file 
00009 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00010 
00011 //  See http://www.boost.org for most recent version.
00012 
00013 //  Metrowerks C++ compiler setup:
00014 
00015 // locale support is disabled when linking with the dynamic runtime
00016 #   ifdef _MSL_NO_LOCALE
00017 #     define BOOST_NO_STD_LOCALE
00018 #   endif 
00019 
00020 #   if __MWERKS__ <= 0x2301  // 5.3
00021 #     define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
00022 #     define BOOST_NO_POINTER_TO_MEMBER_CONST
00023 #     define BOOST_NO_DEPENDENT_TYPES_IN_TEMPLATE_VALUE_PARAMETERS
00024 #     define BOOST_NO_MEMBER_TEMPLATE_KEYWORD
00025 #   endif
00026 
00027 #   if __MWERKS__ <= 0x2401  // 6.2
00028 //#     define BOOST_NO_FUNCTION_TEMPLATE_ORDERING
00029 #   endif
00030 
00031 #   if(__MWERKS__ <= 0x2407)  // 7.x
00032 #     define BOOST_NO_MEMBER_FUNCTION_SPECIALIZATIONS
00033 #     define BOOST_NO_UNREACHABLE_RETURN_DETECTION
00034 #   endif
00035 
00036 #   if(__MWERKS__ <= 0x3003)  // 8.x
00037 #     define BOOST_NO_SFINAE
00038 #    endif
00039 
00040 // the "|| !defined(BOOST_STRICT_CONFIG)" part should apply to the last
00041 // tested version *only*:
00042 #   if(__MWERKS__ <= 0x3206) || !defined(BOOST_STRICT_CONFIG) // 9.5
00043 #     define BOOST_NO_MEMBER_TEMPLATE_FRIENDS
00044 #     define BOOST_NO_IS_ABSTRACT
00045 #    endif
00046 
00047 #if !__option(wchar_type)
00048 #   define BOOST_NO_INTRINSIC_WCHAR_T
00049 #endif
00050 
00051 #if !__option(exceptions)
00052 #   define BOOST_NO_EXCEPTIONS
00053 #endif
00054 
00055 #if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
00056 #   if __MWERKS__ == 0x3000
00057 #     define BOOST_COMPILER_VERSION 8.0
00058 #   elif __MWERKS__ == 0x3001
00059 #     define BOOST_COMPILER_VERSION 8.1
00060 #   elif __MWERKS__ == 0x3002
00061 #     define BOOST_COMPILER_VERSION 8.2
00062 #   elif __MWERKS__ == 0x3003
00063 #     define BOOST_COMPILER_VERSION 8.3
00064 #   elif __MWERKS__ == 0x3200
00065 #     define BOOST_COMPILER_VERSION 9.0
00066 #   elif __MWERKS__ == 0x3201
00067 #     define BOOST_COMPILER_VERSION 9.1
00068 #   elif __MWERKS__ == 0x3202
00069 #     define BOOST_COMPILER_VERSION 9.2
00070 #   elif __MWERKS__ == 0x3204
00071 #     define BOOST_COMPILER_VERSION 9.3
00072 #   elif __MWERKS__ == 0x3205
00073 #     define BOOST_COMPILER_VERSION 9.4
00074 #   elif __MWERKS__ == 0x3206
00075 #     define BOOST_COMPILER_VERSION 9.5
00076 #   else
00077 #     define BOOST_COMPILER_VERSION __MWERKS__
00078 #   endif
00079 #else
00080 #  define BOOST_COMPILER_VERSION __MWERKS__
00081 #endif
00082 
00083 #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
00084 
00085 //
00086 // versions check:
00087 // we don't support Metrowerks prior to version 5.3:
00088 #if __MWERKS__ < 0x2301
00089 #  error "Compiler not supported or configured - please reconfigure"
00090 #endif
00091 //
00092 // last known and checked version:
00093 #if (__MWERKS__ > 0x3205)
00094 #  if defined(BOOST_ASSERT_CONFIG)
00095 #     error "Unknown compiler version - please run the configure tests and report the results"
00096 #  endif
00097 #endif
00098 
00099 
00100 
00101 
00102 
00103 
00104 

Generated on Wed Jan 21 15:32:09 2009 for SystemC by  doxygen 1.5.5