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 #     define BOOST_NO_INITIALIZER_LISTS
00046 #    endif
00047 
00048 #if !__option(wchar_type)
00049 #   define BOOST_NO_INTRINSIC_WCHAR_T
00050 #endif
00051 
00052 #if !__option(exceptions)
00053 #   define BOOST_NO_EXCEPTIONS
00054 #endif
00055 
00056 #if (__INTEL__ && _WIN32) || (__POWERPC__ && macintosh)
00057 #   if __MWERKS__ == 0x3000
00058 #     define BOOST_COMPILER_VERSION 8.0
00059 #   elif __MWERKS__ == 0x3001
00060 #     define BOOST_COMPILER_VERSION 8.1
00061 #   elif __MWERKS__ == 0x3002
00062 #     define BOOST_COMPILER_VERSION 8.2
00063 #   elif __MWERKS__ == 0x3003
00064 #     define BOOST_COMPILER_VERSION 8.3
00065 #   elif __MWERKS__ == 0x3200
00066 #     define BOOST_COMPILER_VERSION 9.0
00067 #   elif __MWERKS__ == 0x3201
00068 #     define BOOST_COMPILER_VERSION 9.1
00069 #   elif __MWERKS__ == 0x3202
00070 #     define BOOST_COMPILER_VERSION 9.2
00071 #   elif __MWERKS__ == 0x3204
00072 #     define BOOST_COMPILER_VERSION 9.3
00073 #   elif __MWERKS__ == 0x3205
00074 #     define BOOST_COMPILER_VERSION 9.4
00075 #   elif __MWERKS__ == 0x3206
00076 #     define BOOST_COMPILER_VERSION 9.5
00077 #   else
00078 #     define BOOST_COMPILER_VERSION __MWERKS__
00079 #   endif
00080 #else
00081 #  define BOOST_COMPILER_VERSION __MWERKS__
00082 #endif
00083 
00084 //
00085 // C++0x features
00086 //
00087 //   See boost\config\suffix.hpp for BOOST_NO_LONG_LONG
00088 //
00089 #if __MWERKS__ > 0x3206 && __option(rvalue_refs)
00090 #  define BOOST_HAS_RVALUE_REFS
00091 #else
00092 #  define BOOST_NO_RVALUE_REFERENCES              
00093 #endif
00094 #define BOOST_NO_CHAR16_T
00095 #define BOOST_NO_CHAR32_T
00096 #define BOOST_NO_CONSTEXPR
00097 #define BOOST_NO_DECLTYPE
00098 #define BOOST_NO_DEFAULTED_FUNCTIONS
00099 #define BOOST_NO_DELETED_FUNCTIONS
00100 #define BOOST_NO_EXPLICIT_CONVERSION_OPERATORS
00101 #define BOOST_NO_EXTERN_TEMPLATE
00102 #define BOOST_NO_RAW_LITERALS
00103 #define BOOST_NO_SCOPED_ENUMS
00104 #define BOOST_NO_STATIC_ASSERT
00105 #define BOOST_NO_UNICODE_LITERALS
00106 #define BOOST_NO_VARIADIC_TEMPLATES
00107 #define BOOST_NO_AUTO_DECLARATIONS
00108 #define BOOST_NO_AUTO_MULTIDECLARATIONS
00109 
00110 #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
00111 
00112 //
00113 // versions check:
00114 // we don't support Metrowerks prior to version 5.3:
00115 #if __MWERKS__ < 0x2301
00116 #  error "Compiler not supported or configured - please reconfigure"
00117 #endif
00118 //
00119 // last known and checked version:
00120 #if (__MWERKS__ > 0x3205)
00121 #  if defined(BOOST_ASSERT_CONFIG)
00122 #     error "Unknown compiler version - please run the configure tests and report the results"
00123 #  endif
00124 #endif
00125 
00126 
00127 
00128 
00129 
00130 
00131 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29