Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright notice, this
8 * list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above copyright notice,
10 * this list of conditions and the following disclaimer in the documentation
11 * and/or other materials provided with the distribution.
12 * Neither the name of Nokia Corporation nor the names of its contributors
13 * may be used to endorse or promote products derived from this software
14 * without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 // =============================================================================
33 // This is a list of settings for STLport specific to the Metrowerks
34 // CodeWarrior for Symbian compiler. Do not include this file directly.
35 // =============================================================================
40 // -----------------------------------------------------------------------------
42 // No support for these in Symbian.
43 // -----------------------------------------------------------------------------
45 # ifndef _STLP_NO_IOSTREAMS
46 # define _STLP_NO_IOSTREAMS
49 # ifdef _STLP_OWN_IOSTREAMS
50 # undef _STLP_OWN_IOSTREAMS
53 //# define _STLP_NO_NATIVE_MBSTATE_T 1
54 //# define _NOTHREADS 1
55 //# define _STLP_NO_TYPEINFO 1
58 # ifndef __PLACEMENT_NEW_INLINE
61 inline void * operator new(unsigned int, void *_P) throw(){ return (_P); }
62 inline void operator delete(void* /*aPtr*/, void* /*aBase*/) __NO_THROW {}
64 # define __PLACEMENT_NEW_INLINE
68 //# undef _STLP_OWN_IOSTREAMS
69 //#define _STLP_OWN_IOSTREAMS
70 #define _STLP_USE_NEW_IOSTREAMS
73 //==========================================================
75 // the values choosen here as defaults try to give
76 // maximum functionality on the most conservative settings
78 // Mostly correct guess, change it for Alpha (and other environments
79 // that has 64-bit "long")
80 # define _STLP_UINT32_T unsigned long
83 // Define if wchar_t is not a unique type, and is actually a typedef to unsigned short.
84 // # define _STLP_WCHAR_T_IS_USHORT 1
86 // Uncomment if long long is available
87 # define _STLP_LONG_LONG long long
89 // Uncomment if long double is not available
90 // # define _STLP_NO_LONG_DOUBLE 1
92 // Uncomment this if your compiler does not support namespaces
93 //# define _STLP_HAS_NO_NAMESPACES 1
95 // Uncomment if "using" keyword does not work with template types
96 // # define _STLP_BROKEN_USING_DIRECTIVE 1
98 // Uncomment this if your compiler does not support exceptions
99 //# define _STLP_HAS_NO_EXCEPTIONS 1
100 //# define _STLP_USE_TRAP_LEAVE 1
102 // Header <new> that comes with the compiler
103 // does not define bad_alloc exception
104 //# if defined(__WINS__)
105 // Possibly required ???
106 # define _STLP_NO_BAD_ALLOC 1
109 // Uncomment if member template methods are not available
110 // # define _STLP_NO_MEMBER_TEMPLATES 1
112 // Uncomment if member template classes are not available
113 # if defined(__WINS__)
114 //# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
117 // Uncomment if friend member templates are not available
118 #if defined(__WINS__)
119 // Possibly required ???
120 //# define _STLP_NO_FRIEND_TEMPLATES 1
123 // Compiler does not accept friend declaration qualified with namespace name.
124 // # define _STLP_NO_QUALIFIED_FRIENDS 1
126 // Uncomment if partial specialization is not available
127 # if defined(__WINS__)
128 //# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
131 // Define if class being partially specialized require full name (template parameters)
132 // of itself for method declarations
133 // # define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
135 // Compiler has problems specializing members of partially
137 // # define _STLP_MEMBER_SPECIALIZATION_BUG
139 // Compiler requires typename keyword on outline method definition
140 // explicitly taking nested types/typedefs
141 // #define _STLP_TYPENAME_ON_RETURN_TYPE
143 // * _STLP_STATIC_CONST_INIT_BUG: defined if the compiler can't handle a
144 // constant-initializer in the declaration of a static const data member
145 // of integer type. (See section 9.4.2, paragraph 4, of the C++ standard.)
146 #if defined(__WINS__)
147 //# define _STLP_STATIC_CONST_INIT_BUG
150 // Define if default constructor for builtin integer type fails to initialize it to 0
151 // # define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
153 // Defined if constructor
154 // required to explicitly call member's default constructors for const objects
155 // # define _STLP_CONST_CONSTRUCTOR_BUG 1
157 // Define this if compiler lacks <exception> header
158 # define _STLP_NO_EXCEPTION_HEADER 1
160 // Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
161 # define _STLP_HAS_NO_NEW_C_HEADERS 1
163 // uncomment if new-style headers <new> is available
164 // # define _STLP_HAS_NEW_NEW_HEADER 1
166 // uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
168 // # define _STLP_VENDOR_GLOBAL_STD
170 // uncomment this if <cstdio> and the like put stuff in ::namespace,
172 # define _STLP_VENDOR_GLOBAL_CSTD
177 # ifdef _STLP_PTHREADS
178 # undef _STLP_PTHREADS
180 # ifdef _STLP_THREADS
181 # undef _STLP_THREADS
184 # define _STLP_NATIVE_INCLUDE_PATH
185 # define _STLP_NATIVE_C_INCLUTE_PATH
187 # define _STLP_NO_NEW_HEADER
188 # define _STLP_NO_THREADS
190 # define _STLP_NO_EXCEPTIONS
192 # define _STLP_USE_NEWALLOC
193 //# define _STLP_NO_NODE_ALLOC
194 # define _STLP_NO_LONG_DOUBLE
195 # define _STLP_BIG_ENDIAN
196 // this one causes recursive abs() calls
199 # define _STLP_CONST_CONSTRUCTOR_BUG
200 // # define _STLP_HAS_NAMESPACES
202 #ifdef _STLP_USE_NEW_C_HEADERS
203 #undef _STLP_USE_NEW_C_HEADERS
206 #undef _STLP_NATIVE_C_HEADER
207 #ifndef __SYMBIAN32__
208 #define _STLP_NATIVE_C_HEADER(x) <libc/##x>
210 #define _STLP_NATIVE_HEADER(x) <x>
212 // -----------------------------------------------------------------------------
214 // This is a bit confusing.
215 // * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't
217 // * _STLP_HAS_WCHAR_T triggers the typedef of wstring. It's based on wint_t,
218 // which isn't typedef's elsewhere, so we take care of it here.
219 // -----------------------------------------------------------------------------
220 //# define _STLP_NO_WCHAR_T 1
221 # define _STLP_HAS_WCHAR_T 1
222 # define _STLP_WCHAR_T_IS_USHORT 1
225 #define _STLP_COMPLEX_SPECIALIZATION_BUG
226 #define _STLP_USE_EXCEPTIONS
227 #define _STLP_EXTERN_RANGE_ERRORS
228 //#define _STLP_NO_FORCE_INSTANTIATE
229 //#define __BUILDING_STLPORT
230 //# define _STLP_USE_STDIO_IO
231 # define _STLP_NO_NEW_NEW_HEADER
232 # define _STLP_USE_DECLSPEC
233 #define __LIBSTD_CPP_SYMBIAN32_WSD__
235 //==========================================================
236 #endif // _STLP_WINSCW