stl_mwerks.h

00001 // STLport configuration file
00002 // It is internal STLport header - DO NOT include it directly
00003 
00004 // Bring in definition of __MSL__ and related items
00005 #include <mslGlobals.h>
00006 #include <ansi_parms.h>
00007 
00008 //
00009 //  Compiler features
00010 //
00011 
00012 
00013 // *** CodeWarrior Compiler Common Features ***
00014 #  if __option(longlong)
00015 #   define _STLP_LONG_LONG      long long
00016 #  endif
00017 
00018 #  define _STLP_USE_UNIX_EMULATION_IO   1
00019 #  define _STLP_USE_AUTO_PTR_CONVERSIONS        1
00020 
00021 # ifdef __INTEL__
00022 #  define _STLP_LITTLE_ENDIAN
00023 # else
00024 #  define _STLP_BIG_ENDIAN
00025 # endif
00026 
00027 #if defined(_MSL_NO_LOCALE)
00028 #define _STLP_NO_IMPORT_LOCALE
00029 #endif
00030 #if !__option( wchar_type )
00031 # define _STLP_WCHAR_T_IS_USHORT
00032 #endif
00033 
00034 // *** CodeWarrior Compiler Common Bugs ***
00035 #  define __MSL_FIX_ITERATORS__(myType)         // Some MSL headers rely on this
00036 #  define _STLP_NO_FRIEND_TEMPLATES 1   // Bug mysteriously reintroduced in this version.
00037 #  define _STLP_THROW_RETURN_BUG        1
00038 
00039 //  *** Version-specific settings ***
00040 
00041 #  if __MWERKS__ >= 0x2405
00042 #   define _STLP_HAS_NATIVE_FLOAT_ABS
00043 #  endif
00044 
00045 #  if __MWERKS__ < 0x2405
00046 #   define _STLP_STATIC_CONST_INIT_BUG
00047 #  endif
00048 
00049 #  if __MWERKS__ <= 0x2303
00050 #   define _STLP_NO_TEMPLATE_CONVERSIONS        1
00051 #   define _STLP_NO_MEMBER_TEMPLATE_KEYWORD     1
00052 #  endif
00053 
00054 #  if __MWERKS__ < 0x2301
00055 #   define _STLP_MEMBER_SPECIALIZATION_BUG      1
00056 #  endif
00057 
00058 #  if __MWERKS__ < 0x2300               // CW Pro5 features
00059 #   define _STLP_INLINE_MEMBER_TEMPLATES 1
00060 #   define _STLP_RELOPS_IN_STD_BUG       1
00061 #   define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
00062 #   define _STLP_NO_TYPENAME_ON_RETURN_TYPE
00063 #  endif
00064 
00065 #  if __MWERKS__ < 0x2200               // CW Pro4 features
00066 #   define _STLP_BROKEN_USING_DIRECTIVE 1
00067 #   define _STLP_NO_MEMBER_TEMPLATES 1
00068 #   define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
00069 #   define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
00070 #   define _STLP_NO_FRIEND_TEMPLATES 1
00071 #   define _STLP_NO_QUALIFIED_FRIENDS 1
00072 #   define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
00073 #  endif
00074 
00075 #  if __MWERKS__ < 0x2100                       // CW Pro3 features
00076 #   define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
00077 #   define _STLP_HAS_NO_NAMESPACES 1
00078 #   define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
00079 
00080 #   define _STLP_NEED_TYPENAME                          1
00081 #   define _STLP_NO_ARROW_OPERATOR 1
00082 #   define _STLP_TEMPLATE_PARAM_SUBTYPE_BUG     1
00083 #   define _STLP_FORCED_INLINE_INSTANTIATION_BUG        1
00084 #   define _STLP_MULTI_CONST_TEMPLATE_ARG_BUG   1
00085 #   define _STLP_INLINE_NAME_RESOLUTION_BUG     1
00086 // *** Metrowerks Standard Library Bug ***
00087 #   define _STLP_MSVC50_COMPATIBILITY 1
00088 #  endif
00089 
00090 #  if __MWERKS__ < 0x2000                       // v. 2.0 features
00091 #   define _STLP_NO_WCHAR_T 1
00092 #   define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
00093 #   define _STLP_NON_TYPE_TMPL_PARAM_BUG        1       // dwa 8/21/97 - this bug fixed for CWPro2
00094 #   define _STLP_UNINITIALIZABLE_PRIVATE  1             // dwa 10/23/97 - this bug fixed for CWPro2
00095 #  endif
00096 
00097 #  if __MWERKS__ < 0x1900                                       // dwa 8/19/97 - 1.9 Compiler feature defines
00098 #   define _STLP_LIMITED_DEFAULT_TEMPLATES 1
00099 #   define _STLP_BASE_TYPEDEF_BUG        1
00100 #   define _STLP_BASE_MATCH_BUG   1
00101 #   define _STLP_NONTEMPL_BASE_MATCH_BUG 1
00102 #   define _STLP_DEFAULT_TYPE_PARAM  1                  // More limited template parameters
00103 
00104 #   if __MWERKS__ < 0x1800
00105     __GIVE_UP_WITH_STL(CW_18)
00106 #   endif
00107 
00108 #  endif
00109 
00110 
00111 // fixes to native inclusion wrappers. 
00112 # if __MWERKS__ >= 0x2300       // CWPro5 changes paths - dwa 2/28/99
00113 
00114 #  define _STLP_NATIVE_INCLUDE_PATH  ../include
00115 #  define _STLP_NATIVE_C_INCLUDE_PATH  ../include
00116 #  define _STLP_NATIVE_HEADER(header)     <../include/##header>  
00117 #  define _STLP_NATIVE_CPP_C_HEADER(header)     <../include/##header>
00118 #  define _STLP_NATIVE_C_HEADER(header)     <../include/##header>
00119 #  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
00120 
00121 # else
00122 
00123 #  define _STLP_NATIVE_INCLUDE_PATH  Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include
00124 #  define _STLP_NATIVE_C_INCLUDE_PATH  Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes
00125 #  define _STLP_NATIVE_HEADER(header)     <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include:##header>
00126 #  define _STLP_NATIVE_CPP_C_HEADER(header)     <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include:##header>
00127 #  define _STLP_NATIVE_C_HEADER(header)     <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes:##header>
00128 #   define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes:##header>
00129 
00130 # endif
00131 
00132      // fbp
00133 # if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
00134 #   define _STLP_NO_NATIVE_WIDE_STREAMS 1
00135 #  endif
00136 
00137 # define _STLP_LIB_BASENAME stlport_mwerks_x86
00138 # define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 1
00139 
00140 // # include <config/vc_select_lib.h>

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6