1.1 --- a/epoc32/include/tools/stlport/stl/config/_hpacc.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/tools/stlport/stl/config/_hpacc.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,196 +1,196 @@
1.4 -// STLport configuration file
1.5 -// It is internal STLport header - DO NOT include it directly
1.6 -
1.7 -#define _STLP_COMPILER "Acc"
1.8 -
1.9 -// system C-library dependent
1.10 -#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
1.11 -# define _STLP_RAND48 1
1.12 -#endif
1.13 -// # define _STLP_RAND48 1
1.14 -#define _STLP_NO_NATIVE_MBSTATE_T 1
1.15 -#define _STLP_HPACC_BROKEN_BUFEND 1
1.16 -#define _STLP_WCHAR_HPACC_EXCLUDE 1
1.17 -
1.18 -// this was reported to help, just as with SUN CC 4.2
1.19 -#define _STLP_INLINE_STRING_LITERAL_BUG
1.20 -
1.21 -// specific prolog is needed to select correct threads impl
1.22 -#define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
1.23 -
1.24 -// HP aCC with +noeh
1.25 -#ifdef __HPACC_NOEH
1.26 -# define _STLP_HAS_NO_EXCEPTIONS 1
1.27 -#endif
1.28 -
1.29 -// HP compilers
1.30 -// At that point, we only know we are on HP (and _not_ using gcc,
1.31 -// according to "stlcomp.h"
1.32 -
1.33 -// __HP_aCC indicate HP ANSI C++, but not always (03.xx does not
1.34 -// define it before 3.13, for example).
1.35 -//
1.36 -#if defined (__HP_aCC)
1.37 -
1.38 -# define _STLP_NO_FORCE_INSTANTIATE
1.39 -# define _STLP_LONG_LONG long long
1.40 -# define _STLP_NO_VENDOR_STDLIB_L
1.41 -
1.42 -# if (__HP_aCC <= 30000 && __HP_aCC >= 12100)
1.43 -
1.44 -//Special kludge to workaround bug in aCC A.01.23, CR JAGac40634
1.45 -# ifdef _STLP_DEBUG
1.46 -static void _STLP_dummy_literal() { const char *p = "x";}
1.47 -static void _STLP_dummy_literal_2() { const char *p = "123456789"; }
1.48 -static void _STLP_dummy_literal_3() { const char *p = "123456700000000000000089";}
1.49 -# endif
1.50 -
1.51 -# define _STLP_HP_ACC 0123
1.52 -# define _STLP_NATIVE_INCLUDE_PATH ../include
1.53 -# define _STLP_VENDOR_GLOBAL_STD 1
1.54 -# define _STLP_VENDOR_GLOBAL_CSTD 1
1.55 -# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.56 -# define _STLP_STATIC_CONST_INIT_BUG 1
1.57 -# if (__HP_aCC < 12700)
1.58 -//new flag: on most HP compilers cwchar is missing
1.59 -# define _STLP_NO_CWCHAR
1.60 -# endif
1.61 -
1.62 -# define _STLP_FORCE_ALLOCATORS(t,a) \
1.63 - typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.64 - typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.65 -
1.66 -# endif /* 123 */
1.67 -
1.68 -// latest version and up
1.69 -# if (__HP_aCC >= 32500 )
1.70 -# define _STLP_HP_ACC 0325
1.71 -
1.72 -# define _STLP_USE_NEW_C_HEADERS
1.73 -
1.74 -# define _STLP_FORCE_ALLOCATORS(t,a) \
1.75 - typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.76 - typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.77 -
1.78 -# if !defined ( _INCLUDE__STDC_A1_SOURCE ) // HP-UX 11i only
1.79 -# define _STLP_HAS_NO_UNIX98_WCHAR_EXTENSIONS
1.80 -# endif
1.81 -
1.82 -# if defined (_HP_NAMESPACE_STD) // option -AA
1.83 -// from now, we have a full standard lib in namespace std
1.84 -//
1.85 -// -AA indicates that we are compiling against Rogue Wave 2.2.1
1.86 -// STL shipped with the HP aCC compiler. -AA tells the compiler
1.87 -// to use the STL defined in the include_std directory.
1.88 -//
1.89 -# define _STLP_NATIVE_INCLUDE_PATH ../include_std
1.90 -
1.91 -// # define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
1.92 -# define _STLP_HP_ACC_COMPAT -1
1.93 -# else // option -Aa
1.94 -# define _STLP_NATIVE_INCLUDE_PATH ../include
1.95 -# define _STLP_VENDOR_GLOBAL_STD 1
1.96 -# define _STLP_VENDOR_GLOBAL_CSTD 1
1.97 -# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.98 -# endif /* _NAMESPACE_STD */
1.99 -# endif
1.100 -
1.101 -# if (__HP_aCC >= 31400 && __HP_aCC < 32500)
1.102 -# define _STLP_HP_ACC 0314
1.103 -
1.104 -# define _STLP_FORCE_ALLOCATORS(t,a) \
1.105 -typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.106 -typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.107 -# define _STLP_NO_CWCHAR
1.108 -# if defined (_NAMESPACE_STD) // option -AA
1.109 -// from now, we have a full standard lib in namespace std
1.110 -# define _STLP_NATIVE_INCLUDE_PATH ../include_std
1.111 -//# define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
1.112 -# define _STLP_HP_ACC_COMPAT -1
1.113 -# else // kind of compatibility mode
1.114 -# define _STLP_NATIVE_INCLUDE_PATH ../include
1.115 -# define _STLP_VENDOR_GLOBAL_STD 1
1.116 -# define _STLP_VENDOR_GLOBAL_CSTD 1
1.117 -# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.118 -# define _STLP_NO_ROPE 1
1.119 -# endif /* _NAMESPACE_STD */
1.120 -# endif /* 314 */
1.121 -
1.122 -# if ((__HP_aCC >= 30000 && __HP_aCC < 31400) || (__HP_aCC == 1)) // A.03.13: __HP_aCC == 1
1.123 -
1.124 -# if (__HP_aCC != 1)
1.125 -# define _STLP_HAS_NO_NEW_C_HEADERS 1
1.126 -# endif
1.127 -
1.128 -# define _STLP_NO_QUALIFIED_FRIENDS 1
1.129 -// aCC bug ? need explicit args on constructors of partial specialized
1.130 -// classes
1.131 -# define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 1
1.132 -// ?? fbp : maybe present in some versions ?
1.133 -# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.134 -# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.135 -// <exception> and stuff is in global namespace
1.136 -# define _STLP_VENDOR_GLOBAL_EXCEPT_STD
1.137 -// fbp : moved here
1.138 -# define _STLP_VENDOR_GLOBAL_CSTD 1
1.139 -// # define _INCLUDE_HPUX_SOURCE
1.140 -# define _XPG4
1.141 -# define _INCLUDE_XOPEN_SOURCE
1.142 -# define _INCLUDE_AES_SOURCE
1.143 -# endif /* < 314 */
1.144 -# if __HP_aCC == 1
1.145 -# define _STLP_BROKEN_USING_IN_CLASS
1.146 -# define _STLP_USING_BASE_MEMBER
1.147 -# define _STLP_NO_CWCHAR
1.148 -// # define _STLP_NO_WCHAR_T 1
1.149 -# endif
1.150 -#endif /* HP_ACC */
1.151 -
1.152 -//
1.153 -#ifndef __HP_aCC
1.154 -# define _STLP_NATIVE_INCLUDE_PATH ../CC
1.155 -# define _STLP_NATIVE_C_INCLUDE_PATH ../include
1.156 -// it is HP's old cfront-based compiler.
1.157 -# define _STLP_NO_BOOL 1
1.158 -// # define _STLP_DONT_USE_BOOL_TYPEDEF 1
1.159 -# define _STLP_NO_NEW_NEW_HEADER 1
1.160 -# define _STLP_LIMITED_DEFAULT_TEMPLATES 1
1.161 -# define _STLP_NO_SIGNED_BUILTINS
1.162 -# define _STLP_HAS_NO_NAMESPACES 1
1.163 -# define _STLP_NEED_TYPENAME 1
1.164 -# define _STLP_NEED_EXPLICIT 1
1.165 -# define _STLP_NO_EXCEPTION_SPEC 1
1.166 -# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
1.167 -# define _STLP_NO_ARROW_OPERATOR 1
1.168 -# define _STLP_BASE_MATCH_BUG
1.169 -# define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
1.170 -# define _STLP_NO_NEW_STYLE_CASTS 1
1.171 -// # define _STLP_NO_WCHAR_T 1
1.172 -// # define _STLP_LONG_LONG long long
1.173 -# define _STLP_NEED_MUTABLE 1
1.174 -# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
1.175 -# define _STLP_NO_BAD_ALLOC 1
1.176 -# define _STLP_NO_MEMBER_TEMPLATES 1
1.177 -# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.178 -# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.179 -# define _STLP_NO_FRIEND_TEMPLATES 1
1.180 -# define _STLP_NO_QUALIFIED_FRIENDS 1
1.181 -# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
1.182 -# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
1.183 -# define _STLP_MEMBER_POINTER_PARAM_BUG 1
1.184 -# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
1.185 -# define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
1.186 -// # define _STLP_NO_METHOD_SPECIALIZATION 1
1.187 -# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
1.188 -# define _STLP_NO_EXCEPTION_HEADER 1
1.189 -# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
1.190 -# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
1.191 -# define _STLP_HAS_NO_NEW_C_HEADERS 1
1.192 -// # define _STLP_STATIC_CONST_INIT_BUG 1
1.193 -// # define _STLP_THROW_RETURN_BUG 1
1.194 -// # define _STLP_LINK_TIME_INSTANTIATION 1
1.195 -// # define _STLP_NO_TEMPLATE_CONVERSIONS 1
1.196 -# define _STLP_NO_TYPEINFO 1
1.197 -# define _STLP_WCHAR_T_IS_USHORT 1
1.198 -
1.199 -#endif /* cfront */
1.200 +// STLport configuration file
1.201 +// It is internal STLport header - DO NOT include it directly
1.202 +
1.203 +#define _STLP_COMPILER "Acc"
1.204 +
1.205 +// system C-library dependent
1.206 +#if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
1.207 +# define _STLP_RAND48 1
1.208 +#endif
1.209 +// # define _STLP_RAND48 1
1.210 +#define _STLP_NO_NATIVE_MBSTATE_T 1
1.211 +#define _STLP_HPACC_BROKEN_BUFEND 1
1.212 +#define _STLP_WCHAR_HPACC_EXCLUDE 1
1.213 +
1.214 +// this was reported to help, just as with SUN CC 4.2
1.215 +#define _STLP_INLINE_STRING_LITERAL_BUG
1.216 +
1.217 +// specific prolog is needed to select correct threads impl
1.218 +#define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
1.219 +
1.220 +// HP aCC with +noeh
1.221 +#ifdef __HPACC_NOEH
1.222 +# define _STLP_HAS_NO_EXCEPTIONS 1
1.223 +#endif
1.224 +
1.225 +// HP compilers
1.226 +// At that point, we only know we are on HP (and _not_ using gcc,
1.227 +// according to "stlcomp.h"
1.228 +
1.229 +// __HP_aCC indicate HP ANSI C++, but not always (03.xx does not
1.230 +// define it before 3.13, for example).
1.231 +//
1.232 +#if defined (__HP_aCC)
1.233 +
1.234 +# define _STLP_NO_FORCE_INSTANTIATE
1.235 +# define _STLP_LONG_LONG long long
1.236 +# define _STLP_NO_VENDOR_STDLIB_L
1.237 +
1.238 +# if (__HP_aCC <= 30000 && __HP_aCC >= 12100)
1.239 +
1.240 +//Special kludge to workaround bug in aCC A.01.23, CR JAGac40634
1.241 +# ifdef _STLP_DEBUG
1.242 +static void _STLP_dummy_literal() { const char *p = "x";}
1.243 +static void _STLP_dummy_literal_2() { const char *p = "123456789"; }
1.244 +static void _STLP_dummy_literal_3() { const char *p = "123456700000000000000089";}
1.245 +# endif
1.246 +
1.247 +# define _STLP_HP_ACC 0123
1.248 +# define _STLP_NATIVE_INCLUDE_PATH ../include
1.249 +# define _STLP_VENDOR_GLOBAL_STD 1
1.250 +# define _STLP_VENDOR_GLOBAL_CSTD 1
1.251 +# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.252 +# define _STLP_STATIC_CONST_INIT_BUG 1
1.253 +# if (__HP_aCC < 12700)
1.254 +//new flag: on most HP compilers cwchar is missing
1.255 +# define _STLP_NO_CWCHAR
1.256 +# endif
1.257 +
1.258 +# define _STLP_FORCE_ALLOCATORS(t,a) \
1.259 + typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.260 + typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.261 +
1.262 +# endif /* 123 */
1.263 +
1.264 +// latest version and up
1.265 +# if (__HP_aCC >= 32500 )
1.266 +# define _STLP_HP_ACC 0325
1.267 +
1.268 +# define _STLP_USE_NEW_C_HEADERS
1.269 +
1.270 +# define _STLP_FORCE_ALLOCATORS(t,a) \
1.271 + typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.272 + typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.273 +
1.274 +# if !defined ( _INCLUDE__STDC_A1_SOURCE ) // HP-UX 11i only
1.275 +# define _STLP_HAS_NO_UNIX98_WCHAR_EXTENSIONS
1.276 +# endif
1.277 +
1.278 +# if defined (_HP_NAMESPACE_STD) // option -AA
1.279 +// from now, we have a full standard lib in namespace std
1.280 +//
1.281 +// -AA indicates that we are compiling against Rogue Wave 2.2.1
1.282 +// STL shipped with the HP aCC compiler. -AA tells the compiler
1.283 +// to use the STL defined in the include_std directory.
1.284 +//
1.285 +# define _STLP_NATIVE_INCLUDE_PATH ../include_std
1.286 +
1.287 +// # define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
1.288 +# define _STLP_HP_ACC_COMPAT -1
1.289 +# else // option -Aa
1.290 +# define _STLP_NATIVE_INCLUDE_PATH ../include
1.291 +# define _STLP_VENDOR_GLOBAL_STD 1
1.292 +# define _STLP_VENDOR_GLOBAL_CSTD 1
1.293 +# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.294 +# endif /* _NAMESPACE_STD */
1.295 +# endif
1.296 +
1.297 +# if (__HP_aCC >= 31400 && __HP_aCC < 32500)
1.298 +# define _STLP_HP_ACC 0314
1.299 +
1.300 +# define _STLP_FORCE_ALLOCATORS(t,a) \
1.301 +typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
1.302 +typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
1.303 +# define _STLP_NO_CWCHAR
1.304 +# if defined (_NAMESPACE_STD) // option -AA
1.305 +// from now, we have a full standard lib in namespace std
1.306 +# define _STLP_NATIVE_INCLUDE_PATH ../include_std
1.307 +//# define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
1.308 +# define _STLP_HP_ACC_COMPAT -1
1.309 +# else // kind of compatibility mode
1.310 +# define _STLP_NATIVE_INCLUDE_PATH ../include
1.311 +# define _STLP_VENDOR_GLOBAL_STD 1
1.312 +# define _STLP_VENDOR_GLOBAL_CSTD 1
1.313 +# define _STLP_DONT_THROW_RANGE_ERRORS 1
1.314 +# define _STLP_NO_ROPE 1
1.315 +# endif /* _NAMESPACE_STD */
1.316 +# endif /* 314 */
1.317 +
1.318 +# if ((__HP_aCC >= 30000 && __HP_aCC < 31400) || (__HP_aCC == 1)) // A.03.13: __HP_aCC == 1
1.319 +
1.320 +# if (__HP_aCC != 1)
1.321 +# define _STLP_HAS_NO_NEW_C_HEADERS 1
1.322 +# endif
1.323 +
1.324 +# define _STLP_NO_QUALIFIED_FRIENDS 1
1.325 +// aCC bug ? need explicit args on constructors of partial specialized
1.326 +// classes
1.327 +# define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 1
1.328 +// ?? fbp : maybe present in some versions ?
1.329 +# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.330 +# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.331 +// <exception> and stuff is in global namespace
1.332 +# define _STLP_VENDOR_GLOBAL_EXCEPT_STD
1.333 +// fbp : moved here
1.334 +# define _STLP_VENDOR_GLOBAL_CSTD 1
1.335 +// # define _INCLUDE_HPUX_SOURCE
1.336 +# define _XPG4
1.337 +# define _INCLUDE_XOPEN_SOURCE
1.338 +# define _INCLUDE_AES_SOURCE
1.339 +# endif /* < 314 */
1.340 +# if __HP_aCC == 1
1.341 +# define _STLP_BROKEN_USING_IN_CLASS
1.342 +# define _STLP_USING_BASE_MEMBER
1.343 +# define _STLP_NO_CWCHAR
1.344 +// # define _STLP_NO_WCHAR_T 1
1.345 +# endif
1.346 +#endif /* HP_ACC */
1.347 +
1.348 +//
1.349 +#ifndef __HP_aCC
1.350 +# define _STLP_NATIVE_INCLUDE_PATH ../CC
1.351 +# define _STLP_NATIVE_C_INCLUDE_PATH ../include
1.352 +// it is HP's old cfront-based compiler.
1.353 +# define _STLP_NO_BOOL 1
1.354 +// # define _STLP_DONT_USE_BOOL_TYPEDEF 1
1.355 +# define _STLP_NO_NEW_NEW_HEADER 1
1.356 +# define _STLP_LIMITED_DEFAULT_TEMPLATES 1
1.357 +# define _STLP_NO_SIGNED_BUILTINS
1.358 +# define _STLP_HAS_NO_NAMESPACES 1
1.359 +# define _STLP_NEED_TYPENAME 1
1.360 +# define _STLP_NEED_EXPLICIT 1
1.361 +# define _STLP_NO_EXCEPTION_SPEC 1
1.362 +# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
1.363 +# define _STLP_NO_ARROW_OPERATOR 1
1.364 +# define _STLP_BASE_MATCH_BUG
1.365 +# define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
1.366 +# define _STLP_NO_NEW_STYLE_CASTS 1
1.367 +// # define _STLP_NO_WCHAR_T 1
1.368 +// # define _STLP_LONG_LONG long long
1.369 +# define _STLP_NEED_MUTABLE 1
1.370 +# define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
1.371 +# define _STLP_NO_BAD_ALLOC 1
1.372 +# define _STLP_NO_MEMBER_TEMPLATES 1
1.373 +# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.374 +# define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.375 +# define _STLP_NO_FRIEND_TEMPLATES 1
1.376 +# define _STLP_NO_QUALIFIED_FRIENDS 1
1.377 +# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
1.378 +# define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
1.379 +# define _STLP_MEMBER_POINTER_PARAM_BUG 1
1.380 +# define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
1.381 +# define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
1.382 +// # define _STLP_NO_METHOD_SPECIALIZATION 1
1.383 +# define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
1.384 +# define _STLP_NO_EXCEPTION_HEADER 1
1.385 +# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
1.386 +# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
1.387 +# define _STLP_HAS_NO_NEW_C_HEADERS 1
1.388 +// # define _STLP_STATIC_CONST_INIT_BUG 1
1.389 +// # define _STLP_THROW_RETURN_BUG 1
1.390 +// # define _STLP_LINK_TIME_INSTANTIATION 1
1.391 +// # define _STLP_NO_TEMPLATE_CONVERSIONS 1
1.392 +# define _STLP_NO_TYPEINFO 1
1.393 +# define _STLP_WCHAR_T_IS_USHORT 1
1.394 +
1.395 +#endif /* cfront */