1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/tools/stlport/stl/config/_mwerks.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,161 @@
1.4 +// STLport configuration file
1.5 +// It is internal STLport header - DO NOT include it directly
1.6 +
1.7 +#define _STLP_COMPILER "Metrowerk Codewarrior"
1.8 +
1.9 +// Bring in definition of __MSL__ and related items
1.10 +#include <mslGlobals.h>
1.11 +#include <ansi_parms.h>
1.12 +
1.13 +//
1.14 +// Compiler features
1.15 +//
1.16 +
1.17 +
1.18 +// *** CodeWarrior Compiler Common Features ***
1.19 +# if __option(longlong)
1.20 +# define _STLP_LONG_LONG long long
1.21 +# endif
1.22 +
1.23 +# define _STLP_USE_UNIX_EMULATION_IO 1
1.24 +
1.25 +# define _STLP_USE_AUTO_PTR_CONVERSIONS 1
1.26 +
1.27 +# ifdef __INTEL__
1.28 +# define _STLP_LITTLE_ENDIAN
1.29 +# else
1.30 +# define _STLP_BIG_ENDIAN
1.31 +# endif
1.32 +
1.33 +#if defined(_MSL_NO_LOCALE)
1.34 +#define _STLP_NO_IMPORT_LOCALE
1.35 +#endif
1.36 +#if !__option( wchar_type )
1.37 +# define _STLP_WCHAR_T_IS_USHORT
1.38 +#endif
1.39 +
1.40 +# if __MWERKS__ < 0x3000
1.41 +// *** CodeWarrior Compiler Common Bugs ***
1.42 +# define __MSL_FIX_ITERATORS__(myType) // Some MSL headers rely on this
1.43 +# define _STLP_NO_FRIEND_TEMPLATES 1 // Bug mysteriously reintroduced in this version.
1.44 +# define _STLP_THROW_RETURN_BUG 1
1.45 +# endif
1.46 +
1.47 +// *** Version-specific settings ***
1.48 +
1.49 +# if __MWERKS__ >= 0x2405
1.50 +# define _STLP_HAS_NATIVE_FLOAT_ABS
1.51 +# endif
1.52 +
1.53 +# if __MWERKS__ < 0x2405
1.54 +# define _STLP_STATIC_CONST_INIT_BUG
1.55 +# endif
1.56 +
1.57 +# if __MWERKS__ <= 0x2303
1.58 +# define _STLP_NO_TEMPLATE_CONVERSIONS 1
1.59 +# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.60 +# endif
1.61 +
1.62 +# if __MWERKS__ < 0x2301
1.63 +# define _STLP_MEMBER_SPECIALIZATION_BUG 1
1.64 +# endif
1.65 +
1.66 +# if __MWERKS__ < 0x2300 // CW Pro5 features
1.67 +# define _STLP_INLINE_MEMBER_TEMPLATES 1
1.68 +# define _STLP_RELOPS_IN_STD_BUG 1
1.69 +# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
1.70 +# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
1.71 +# define _STLP_NO_TYPENAME_ON_RETURN_TYPE
1.72 +# endif
1.73 +
1.74 +# if __MWERKS__ < 0x2200 // CW Pro4 features
1.75 +# define _STLP_BROKEN_USING_DIRECTIVE 1
1.76 +# define _STLP_NO_MEMBER_TEMPLATES 1
1.77 +# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.78 +# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.79 +# define _STLP_NO_FRIEND_TEMPLATES 1
1.80 +# define _STLP_NO_QUALIFIED_FRIENDS 1
1.81 +# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
1.82 +# endif
1.83 +
1.84 +# if __MWERKS__ < 0x2100 // CW Pro3 features
1.85 +# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
1.86 +# define _STLP_HAS_NO_NAMESPACES 1
1.87 +# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
1.88 +
1.89 +# define _STLP_NEED_TYPENAME 1
1.90 +# define _STLP_NO_ARROW_OPERATOR 1
1.91 +# define _STLP_TEMPLATE_PARAM_SUBTYPE_BUG 1
1.92 +# define _STLP_FORCED_INLINE_INSTANTIATION_BUG 1
1.93 +# define _STLP_MULTI_CONST_TEMPLATE_ARG_BUG 1
1.94 +# define _STLP_INLINE_NAME_RESOLUTION_BUG 1
1.95 +// *** Metrowerks Standard Library Bug ***
1.96 +# define _STLP_MSVC50_COMPATIBILITY 1
1.97 +# endif
1.98 +
1.99 +# if __MWERKS__ < 0x2000 // v. 2.0 features
1.100 +# define _STLP_NO_WCHAR_T 1
1.101 +# define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
1.102 +# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1 // dwa 8/21/97 - this bug fixed for CWPro2
1.103 +# endif
1.104 +
1.105 +# if __MWERKS__ < 0x1900 // dwa 8/19/97 - 1.9 Compiler feature defines
1.106 +# define _STLP_LIMITED_DEFAULT_TEMPLATES 1
1.107 +# define _STLP_BASE_TYPEDEF_BUG 1
1.108 +# define _STLP_BASE_MATCH_BUG 1
1.109 +# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
1.110 +# define _STLP_DEFAULT_TYPE_PARAM 1 // More limited template parameters
1.111 +
1.112 +# if __MWERKS__ < 0x1800
1.113 + __GIVE_UP_WITH_STL(CW_18)
1.114 +# endif
1.115 +
1.116 +# endif
1.117 +
1.118 +
1.119 +// fixes to native inclusion wrappers.
1.120 +# if __MWERKS__ >= 0x2300 // CWPro5 changes paths - dwa 2/28/99
1.121 +# define _STLP_NATIVE_INCLUDE_PATH ../include
1.122 +# define _STLP_NATIVE_C_INCLUDE_PATH ../include
1.123 +# define _STLP_NATIVE_HEADER(header) <../include/##header>
1.124 +# define _STLP_NATIVE_CPP_C_HEADER(header) <../include/##header>
1.125 +# define _STLP_NATIVE_C_HEADER(header) <../include/##header>
1.126 +# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../include/##header>
1.127 +# else
1.128 +
1.129 +# define _STLP_NATIVE_INCLUDE_PATH Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include
1.130 +# define _STLP_NATIVE_C_INCLUDE_PATH Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes
1.131 +# define _STLP_NATIVE_HEADER(header) <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include:##header>
1.132 +# define _STLP_NATIVE_CPP_C_HEADER(header) <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C++:Include:##header>
1.133 +# define _STLP_NATIVE_C_HEADER(header) <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes:##header>
1.134 +# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <Macintosh HD:Codewarrior Pro 4:Metrowerks CodeWarrior:Metrowerks Standard Library:MSL C:MSL Common:Public Includes:##header>
1.135 +
1.136 +# endif
1.137 +
1.138 +//Following block come from boost intrinsics.hpp file:
1.139 +#if defined (__MSL_CPP__) && (__MSL_CPP__ >= 0x8000)
1.140 + // Metrowerks compiler is acquiring intrinsic type traits support
1.141 + // post version 8. We hook into the published interface to pick up
1.142 + // user defined specializations as well as compiler intrinsics as
1.143 + // and when they become available:
1.144 +# include <msl_utility>
1.145 +# define _STLP_HAS_TRIVIAL_CONSTRUCTOR(T) Metrowerks::has_trivial_default_ctor<T>::value
1.146 +# define _STLP_HAS_TRIVIAL_COPY(T) Metrowerks::has_trivial_copy_ctor<T>::value
1.147 +# define _STLP_HAS_TRIVIAL_ASSIGN(T) Metrowerks::has_trivial_assignment<T>::value
1.148 +# define _STLP_HAS_TRIVIAL_DESTRUCTOR(T) Metrowerks::has_trivial_dtor<T>::value
1.149 +# define _STLP_IS_POD(T) Metrowerks::is_POD<T>::value
1.150 +# define _STLP_HAS_TYPE_TRAITS_INTRINSICS
1.151 +#endif
1.152 +
1.153 +// fbp
1.154 +# if !defined( __MSL_CPP__ ) || __MSL_CPP__ <= 0x4105
1.155 +# define _STLP_NO_NATIVE_WIDE_STREAMS 1
1.156 +# endif
1.157 +
1.158 +# if defined(__MACH__)
1.159 +# define _STLP_MAC
1.160 +# define O_BINARY 0
1.161 +# elif defined(macintosh)
1.162 +# define _NOTHREADS
1.163 +# endif
1.164 +# define _STLP_DLLEXPORT_NEEDS_PREDECLARATION 1