1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/tools/stlport/stl/config/stl_mycomp.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,290 @@
1.4 +/*
1.5 + * Copyright (c) 1997
1.6 + * Moscow Center for SPARC Technology
1.7 + *
1.8 + * Copyright (c) 1999
1.9 + * Boris Fomitchev
1.10 + *
1.11 + * This material is provided "as is", with absolutely no warranty expressed
1.12 + * or implied. Any use is at your own risk.
1.13 + *
1.14 + * Permission to use or copy this software for any purpose is hereby granted
1.15 + * without fee, provided the above notices are retained on all copies.
1.16 + * Permission to modify the code and to distribute modified code is granted,
1.17 + * provided the above notices are retained, and a notice that the code was
1.18 + * modified is included with the above copyright notice.
1.19 + *
1.20 + */
1.21 +
1.22 +/*
1.23 + * Purpose of this file :
1.24 + *
1.25 + * A list of COMPILER-SPECIFIC portion of STLport settings.
1.26 + * This file is provided to help in manual configuration
1.27 + * of STLport. This file is being included by stlcomp.h
1.28 + * when STLport is unable to identify your compiler.
1.29 + * Please remove the error diagnostic below before adjusting
1.30 + * macros.
1.31 + *
1.32 + */
1.33 +#ifndef _STLP_MYCOMP_H
1.34 +#define _STLP_MYCOMP_H
1.35 +
1.36 +//#error "Your compiler version is not recognized by STLport. Please edit <stlport/stl/config/stl_mycomp.h>"
1.37 +
1.38 +//==========================================================
1.39 +
1.40 +// the values choosen here as defaults try to give
1.41 +// maximum functionality on the most conservative settings
1.42 +
1.43 +// Mostly correct guess, change it for Alpha (and other environments
1.44 +// that has 64-bit "long")
1.45 +// # define _STLP_UINT32_T unsigned long
1.46 +
1.47 +// Disables wchar_t functionality
1.48 +// # define _STLP_NO_WCHAR_T 1
1.49 +
1.50 +// Define if wchar_t is not a unique type, and is actually a typedef to unsigned short.
1.51 +// # define _STLP_WCHAR_T_IS_USHORT 1
1.52 +
1.53 +// Uncomment if long long is available
1.54 +// # define _STLP_LONG_LONG long long
1.55 +
1.56 +// Uncomment if long double is not available
1.57 +// # define _STLP_NO_LONG_DOUBLE 1
1.58 +
1.59 +// Uncomment this if your compiler does not support "typename" keyword
1.60 +// # define _STLP_NEED_TYPENAME 1
1.61 +
1.62 +// Uncomment this if your compiler does not support "mutable" keyword
1.63 +// # define _STLP_NEED_MUTABLE 1
1.64 +
1.65 +// Uncomment this if your compiler does not support "explicit" keyword
1.66 +// # define _STLP_NEED_EXPLICIT 1
1.67 +
1.68 +// Uncomment if new-style-casts like const_cast<> are not available
1.69 +// # define _STLP_NO_NEW_STYLE_CASTS 1
1.70 +
1.71 +// Uncomment this if your compiler does not have "bool" type
1.72 +// # define _STLP_NO_BOOL 1
1.73 +
1.74 +// Uncomment this if your compiler does not have "bool" type, but has "bool" keyword reserved
1.75 +// # define _STLP_DONT_USE_BOOL_TYPEDEF 1
1.76 +
1.77 +// Uncomment this if your compiler does not have "bool" type, but defines "bool" in <yvals.h>
1.78 +// # define _STLP_YVALS_H 1
1.79 +
1.80 +// Uncomment this if your compiler has limited or no default template arguments for classes
1.81 +// # define _STLP_LIMITED_DEFAULT_TEMPLATES 1
1.82 +
1.83 +// Uncomment this if your compiler support only complete (not dependent on other parameters)
1.84 +// types as default parameters for class templates
1.85 +// # define _STLP_DEFAULT_TYPE_PARAM 1
1.86 +
1.87 +// Uncomment this if your compiler do not support default parameters in template class methods
1.88 +// # define _STLP_DONT_SUP_DFLT_PARAM 1
1.89 +
1.90 +// Uncomment this if your compiler has problem with not-type
1.91 +// default template parameters
1.92 +// # define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
1.93 +
1.94 +// Define if compiler has
1.95 +// trouble with functions getting non-type-parameterized classes as parameters
1.96 +// # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
1.97 +
1.98 +// Uncomment this if your compiler lacks static data members.
1.99 +// Uncomment next line if your compiler supports __attribute__((weak))
1.100 +// # define _STLP_NO_STATIC_TEMPLATE_DATA 1
1.101 +// # define _STLP_WEAK_ATTRIBUTE 1
1.102 +
1.103 +// Uncomment this if your compiler does not support namespaces
1.104 +// # define _STLP_HAS_NO_NAMESPACES 1
1.105 +
1.106 +// Uncomment if "using" keyword does not work with template types
1.107 +// # define _STLP_BROKEN_USING_DIRECTIVE 1
1.108 +
1.109 +// Uncomment this if your compiler does not support exceptions
1.110 +// # define _STLP_HAS_NO_EXCEPTIONS 1
1.111 +
1.112 +// Uncomment this when you are able to detect that the user do not
1.113 +// want to use the exceptions feature.
1.114 +// # define _STLP_DONT_USE_EXCEPTIONS 1
1.115 +
1.116 +// Uncomment this if your compiler does not support exception specifications
1.117 +// # define _STLP_NO_EXCEPTION_SPEC
1.118 +
1.119 +// Define this if your compiler requires return statement after throw()
1.120 +// # define _STLP_THROW_RETURN_BUG 1
1.121 +
1.122 +// Define this if your compiler do not support return of void
1.123 +// # define _STLP_DONT_RETURN_VOID 1
1.124 +
1.125 +// Header <new> that comes with the compiler
1.126 +// does not define bad_alloc exception
1.127 +// # define _STLP_NO_BAD_ALLOC 1
1.128 +
1.129 +// Define this if your compiler do not throw bad_alloc from the new operator
1.130 +// # define _STLP_NEW_DONT_THROW_BAD_ALLOC 1
1.131 +
1.132 +// Uncomment if member template methods are not available
1.133 +// # define _STLP_NO_MEMBER_TEMPLATES 1
1.134 +
1.135 +// Uncomment if member template classes are not available
1.136 +// # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.137 +
1.138 +// Uncomment if your compiler do not support the std::allocator rebind technique
1.139 +// This is a special case of bad member template classes support, it is automatically
1.140 +// defined if _STLP_NO_MEMBER_TEMPLATE_CLASSES is defined.
1.141 +// # define _STLP_DONT_SUPPORT_REBIND_MEMBER_TEMPLATE 1
1.142 +
1.143 +// Uncomment if no "template" keyword should be used with member template classes
1.144 +// # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
1.145 +
1.146 +// Uncomment if friend member templates are not available
1.147 +// # define _STLP_NO_FRIEND_TEMPLATES 1
1.148 +
1.149 +// Compiler does not accept friend declaration qualified with namespace name.
1.150 +// # define _STLP_NO_QUALIFIED_FRIENDS 1
1.151 +
1.152 +// Uncomment if partial specialization is not available
1.153 +// # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
1.154 +
1.155 +// Define if class being partially specialized require full name (template parameters)
1.156 +// of itself for method declarations
1.157 +// # define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
1.158 +
1.159 +// Compiler has problem with qualified specializations (cont int, volatile int...)
1.160 +// # define _STLP_QUALIFIED_SPECIALIZATION_BUG
1.161 +
1.162 +// Compiler has problems specializing members of partially
1.163 +// specialized class
1.164 +// # define _STLP_MEMBER_SPECIALIZATION_BUG
1.165 +
1.166 +// Uncomment if partial order of template functions is not available
1.167 +// # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
1.168 +
1.169 +// Uncomment if specialization of methods is not allowed
1.170 +// # define _STLP_NO_METHOD_SPECIALIZATION 1
1.171 +
1.172 +// Uncomment if full specialization does not use partial spec. syntax : template <> struct ....
1.173 +// # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
1.174 +
1.175 +// Uncomment if compiler does not support explicit template arguments for functions
1.176 +// # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
1.177 +
1.178 +// Uncomment this if your compiler can't inline while(), for()
1.179 +// # define _STLP_LOOP_INLINE_PROBLEMS 1
1.180 +
1.181 +// Define if the compiler fails to match a template function argument of base
1.182 +// # define _STLP_BASE_MATCH_BUG 1
1.183 +
1.184 +// Define if the compiler fails to match a template function argument of base
1.185 +// (non-template)
1.186 +//# define _STLP_NONTEMPL_BASE_MATCH_BUG 1
1.187 +
1.188 +// Define if the compiler rejects outline method definition
1.189 +// explicitly taking nested types/typedefs
1.190 +// # define _STLP_NESTED_TYPE_PARAM_BUG 1
1.191 +
1.192 +// Compiler requires typename keyword on outline method definition
1.193 +// explicitly taking nested types/typedefs
1.194 +// #define _STLP_TYPENAME_ON_RETURN_TYPE
1.195 +
1.196 +// Define if the baseclass typedefs not visible from outside
1.197 +// # define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
1.198 +
1.199 +// if your compiler have serious problems with typedefs, try this one
1.200 +// # define _STLP_BASE_TYPEDEF_BUG 1
1.201 +
1.202 +// Uncomment if getting errors compiling mem_fun* adaptors
1.203 +// # define _STLP_MEMBER_POINTER_PARAM_BUG 1
1.204 +
1.205 +// * _STLP_STATIC_CONST_INIT_BUG: defined if the compiler can't handle a
1.206 +// constant-initializer in the declaration of a static const data member
1.207 +// of integer type. (See section 9.4.2, paragraph 4, of the C++ standard.)
1.208 +// # define _STLP_STATIC_CONST_INIT_BUG
1.209 +
1.210 +// Define if default constructor for builtin integer type fails to initialize it to 0
1.211 +// In expression like new(&char) char():
1.212 +//# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
1.213 +// In default function parameter like _M_method(_Tp __x = _Tp())
1.214 +//# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
1.215 +
1.216 +// Defined if constructor
1.217 +// required to explicitly call member's default constructors for const objects
1.218 +// # define _STLP_CONST_CONSTRUCTOR_BUG 1
1.219 +
1.220 +// Defined if the compiler has trouble calling POD-types constructors/destructors
1.221 +// # define _STLP_TRIVIAL_CONSTRUCTOR_BUG 1
1.222 +// # define _STLP_TRIVIAL_DESTRUCTOR_BUG 1
1.223 +
1.224 +// Define if having problems specializing maps/sets with
1.225 +// key type being const
1.226 +// # define _STLP_MULTI_CONST_TEMPLATE_ARG_BUG
1.227 +
1.228 +// Uncomment this to disable -> operators on all iterators
1.229 +// # define _STLP_NO_ARROW_OPERATOR 1
1.230 +
1.231 +// Uncomment this to disble at() member functions for containers
1.232 +// # define _STLP_NO_AT_MEMBER_FUNCTION 1
1.233 +
1.234 +// Define this if compiler lacks <exception> header
1.235 +// # define _STLP_NO_EXCEPTION_HEADER 1
1.236 +
1.237 +// Uncomment this if your C library has lrand48() function
1.238 +// # define _STLP_RAND48 1
1.239 +
1.240 +// Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
1.241 +// # define _STLP_HAS_NO_NEW_C_HEADERS 1
1.242 +
1.243 +// uncomment if new-style headers <new> is available
1.244 +// # define _STLP_HAS_NEW_NEW_HEADER 1
1.245 +
1.246 +// uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
1.247 +// not std::
1.248 +// # define _STLP_VENDOR_GLOBAL_STD
1.249 +
1.250 +// uncomment this if <cstdio> and the like put stuff in ::namespace,
1.251 +// not std::
1.252 +// # define _STLP_VENDOR_GLOBAL_CSTD
1.253 +
1.254 +// uncomment this if your compiler consider as ambiguous a function imported within
1.255 +// the stlport namespace and called without scope (:: or std::)
1.256 +// # define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS 1
1.257 +
1.258 +// uncomment this if your compiler define all the C math functions C++ additional
1.259 +// overloads in ::namespace and not only in std::.
1.260 +// # define _STLP_HAS_GLOBAL_C_MATH_FUNCTIONS 1
1.261 +
1.262 +// uncomment this if your compiler has problem with the import of a namespace in
1.263 +// an other one with the using namespace directive
1.264 +// # define _STLP_USING_NAMESPACE_BUG 1
1.265 +
1.266 +// Edit relative path below (or put full path) to get native
1.267 +// compiler headers included. Default is "../include".
1.268 +// C headers may reside in different directory, so separate macro is provided.
1.269 +// Hint : never install STLport in the directory that ends with "include"
1.270 + # define _STLP_NATIVE_INCLUDE_PATH
1.271 +// # define _STLP_NATIVE_C_INCLUDE_PATH ../include
1.272 +// # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
1.273 +
1.274 +// This macro constructs header path from directory and name.
1.275 +// You may change it if your compiler does not understand "/".
1.276 +// # define _STLP_MAKE_HEADER(path, header) <path/header>
1.277 +
1.278 +// This macro constructs native include header path from include path and name.
1.279 +// You may have do define it if experimenting problems with preprocessor
1.280 +// # define _STLP_NATIVE_HEADER(header) _STLP_MAKE_HEADER(_STLP_NATIVE_INCLUDE_PATH,header)
1.281 +
1.282 +// Same for C headers
1.283 +// #define _STLP_NATIVE_C_HEADER(header)
1.284 +
1.285 +// uncomment this if your compiler/platform do not fully support the IEC 559 floating point
1.286 +// numbers specification (also known as IEEE 754 in the US). This specification define the
1.287 +// infinity and NaN (Not a Number) representation. Unit tests should tell you if your compiler
1.288 +// support it.
1.289 +// # define _STLP_NO_IEC559_SUPPORT 1
1.290 +
1.291 +
1.292 +//==========================================================
1.293 +#endif