2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
5 * Moscow Center for SPARC Technology
10 * This material is provided "as is", with absolutely no warranty expressed
11 * or implied. Any use is at your own risk.
13 * Permission to use or copy this software for any purpose is hereby granted
14 * without fee, provided the above notices are retained on all copies.
15 * Permission to modify the code and to distribute modified code is granted,
16 * provided the above notices are retained, and a notice that the code was
17 * modified is included with the above copyright notice.
22 * Purpose of this file :
24 * A list of COMPILER-SPECIFIC portion of STLport settings.
25 * This file is provided to help in manulal configuration
26 * of STLport. This file is being included by stlcomp.h
27 * when STLport is unable to identify your compiler.
28 * Please remove the error diagnostic below before adjusting
36 #ifndef _STLP_NO_IOSTREAMS
37 # define _STLP_NO_IOSTREAMS 1
40 # undef _STLP_OWN_IOSTREAMS
41 # define _STLP_NO_NATIVE_MBSTATE_T 1
42 //# define _NOTHREADS 1
43 # define _STLP_NO_TYPEINFO 1
46 //==========================================================
48 // the values choosen here as defaults try to give
49 // maximum functionality on the most conservative settings
51 // Mostly correct guess, change it for Alpha (and other environments
52 // that has 64-bit "long")
53 # define _STLP_UINT32_T unsigned long
55 // Disables wchar_t functinality
56 //# define _STLP_NO_WCHAR_T 1
58 // Define if wchar_t is not a unique type, and is actually a typedef to unsigned short.
59 // # define _STLP_WCHAR_T_IS_USHORT 1
61 // Uncomment if long long is available
62 # define _STLP_LONG_LONG long long
64 // Uncomment if long double is not available
65 // # define _STLP_NO_LONG_DOUBLE 1
67 // Uncomment this if your compiler does not support namespaces
68 //# define _STLP_HAS_NO_NAMESPACES 1
70 // Uncomment if "using" keyword does not work with template types
71 // # define _STLP_BROKEN_USING_DIRECTIVE 1
73 // Uncomment this if your compiler does not support exceptions
74 //# define _STLP_HAS_NO_EXCEPTIONS 1
76 // Header <new> that comes with the compiler
77 // does not define bad_alloc exception
78 //#if defined(__WINS__)
79 // Possibly required ???
80 # define _STLP_NO_BAD_ALLOC 1
83 // Uncomment if member template methods are not available
84 // # define _STLP_NO_MEMBER_TEMPLATES 1
86 // Uncomment if friend member templates are not available
88 // Possibly required ???
89 //# define _STLP_NO_FRIEND_TEMPLATES 1
92 // Compiler does not accept friend declaration qualified with namespace name.
93 // # define _STLP_NO_QUALIFIED_FRIENDS 1
96 // Define if class being partially specialized require full name (template parameters)
97 // of itself for method declarations
98 // # define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
100 // Compiler has problems specializing members of partially
102 // # define _STLP_MEMBER_SPECIALIZATION_BUG
104 // Compiler requires typename keyword on outline method definition
105 // explicitly taking nested types/typedefs
106 // #define _STLP_TYPENAME_ON_RETURN_TYPE
108 // * _STLP_STATIC_CONST_INIT_BUG: defined if the compiler can't handle a
109 // constant-initializer in the declaration of a static const data member
110 // of integer type. (See section 9.4.2, paragraph 4, of the C++ standard.)
111 #if defined(__WINS__)
112 # define _STLP_STATIC_CONST_INIT_BUG
115 // Define if default constructor for builtin integer type fails to initialize it to 0
116 // # define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
118 // Defined if constructor
119 // required to explicitly call member's default constructors for const objects
120 // # define _STLP_CONST_CONSTRUCTOR_BUG 1
122 // Define this if compiler lacks <exception> header
123 # define _STLP_NO_EXCEPTION_HEADER 1
125 // Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
126 # define _STLP_HAS_NO_NEW_C_HEADERS 1
128 // uncomment if new-style headers <new> is available
129 // # define _STLP_HAS_NEW_NEW_HEADER 1
131 // uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
133 // # define _STLP_VENDOR_GLOBAL_STD
135 // uncomment this if <cstdio> and the like put stuff in ::namespace,
137 # define _STLP_VENDOR_GLOBAL_CSTD
139 // Edit relative path below (or put full path) to get native
140 // compiler headers included. Default is "../include".
141 // C headers may reside in different directory, so separate macro is provided.
142 // Hint : never install STLport in the directory that ends with "include"
144 # define _STLP_NATIVE_C_INCLUDE_PATH stdapis/
145 # define _STLP_NATIVE_INCLUDE_PATH
146 #define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH runtime/
148 // These are some options that are common across compilers used in Symbian
149 # define _STLP_NO_NEW_NEW_HEADER 1
150 # define _STLP_NO_NEW_HEADER
151 # define _STLP_USE_DECLSPEC
152 # undef _STLP_EXPORT_DECLSPEC
153 # undef _STLP_IMPORT_DECLSPEC
154 # define _STLP_NO_THREADS
155 # define _STLP_USE_NEW_IOSTREAMS
156 # define _STLP_NO_OWN_IOSTREAMS
157 # define _STLP_USE_NEWALLOC
158 # define _STLP_NO_LONG_DOUBLE
159 # define _STLP_LITTLE_ENDIAN
162 # define _STLP_CONST_CONSTRUCTOR_BUG
163 # define _STLP_COMPLEX_SPECIALIZATION_BUG
164 # define _STLP_USE_EXCEPTIONS
165 # define _STLP_EXTERN_RANGE_ERRORS
166 // Defined in _site_config.h
167 //# define _STLP_NO_OWN_NAMESPACE
169 //==========================================================