1.1 --- a/epoc32/include/tools/stlport/stl/config/_dm.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/tools/stlport/stl/config/_dm.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -1,109 +1,109 @@
1.4 -// STLport configuration file for Digital Mars C++
1.5 -
1.6 -//#define _STLP_VERBOSE
1.7 -
1.8 -#define _STLP_COMPILER "DMC"
1.9 -
1.10 -#if defined (_STLP_VERBOSE)
1.11 -# pragma message __DMC_VERSION_STRING__
1.12 -#endif
1.13 -
1.14 -#if (__DMC__ < 0x846)
1.15 -# error "Digital Mars C++ versions prior to 8.46 are not supported!"
1.16 -#endif
1.17 -
1.18 -#ifndef _CPPUNWIND
1.19 -# define _STLP_NO_EXCEPTIONS
1.20 -#endif
1.21 -#define _STLP_VENDOR_GLOBAL_CSTD
1.22 -
1.23 -//DMC prefer enum to real static const variable because it do not consider
1.24 -//static const as const enough to be used in switch declaration...
1.25 -#define _STLP_STATIC_CONST_INIT_BUG
1.26 -
1.27 -#if !defined (_WIN32)
1.28 -// it's not fully supported on non-Win32 platforms
1.29 -# define _STLP_NO_NATIVE_WIDE_FUNCTIONS
1.30 -#endif
1.31 -
1.32 -/* _STLP_NO_OWN_NAMESPACE is defined because Digital Mars' linker and libarian
1.33 - appear to have problems with STLport namespaces. Summary of the issues:
1.34 -
1.35 - STATIC: Digital Mars' librarian (lib.exe) may fail with "len <= IDMAX" error
1.36 - if _STLP_DEBUG is defined. This is because Digital Mars' librarian uses
1.37 - Microsoft OMF format, which limits identifier length to about 512 bytes.
1.38 - With STLport namespaces, some identifiers such as Category_Map in
1.39 - src/locale_catalog.cpp may exceed the maximum OMF identifier length.
1.40 -
1.41 - DYNAMIC: Export issues with cin, cout, cerr, clog in src/iostream.cpp.
1.42 - Exports in Digital Mars 'def' file must match mangled names in iostream.cpp.
1.43 - With STLport namespaces, the mangled names in the intermediate files no
1.44 - longer match these pre-defined exports. To use STLport dynamic libraries
1.45 - and STLport namespaces with Digital Mars, the pre-defined exports in
1.46 - src/iostream.cpp and the related Digital Mars 'def' files would need to be
1.47 - revised. */
1.48 -#define _STLP_NO_OWN_NAMESPACE 1
1.49 -
1.50 -// select threads strategy
1.51 -#if defined (_MT) && !defined (_NOTHREADS)
1.52 -# define _REENTRANT
1.53 -#else
1.54 -# define _NOTHREADS
1.55 -#endif
1.56 -
1.57 -#ifndef _BOOL_DEFINED
1.58 -# define _STLP_NO_BOOL
1.59 -#else
1.60 -# define _STLP_DONT_USE_BOOL_TYPEDEF
1.61 -#endif
1.62 -
1.63 -#if _INTEGRAL_MAX_BITS >= 64
1.64 -# define _STLP_LONG_LONG long long
1.65 -#endif
1.66 -
1.67 -#define _STLP_DONT_USE_PRIV_NAMESPACE
1.68 -#define _STLP_NO_BAD_ALLOC
1.69 -#define _STLP_THROW_RETURN_BUG
1.70 -
1.71 -#if !defined (_DLL)
1.72 -# undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
1.73 -#endif
1.74 -
1.75 -#define _STLP_USE_ABBREVS
1.76 -#define _STLP_NO_CONTAINERS_EXTENSION
1.77 -#define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
1.78 -
1.79 -#define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
1.80 -#define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
1.81 -
1.82 -#define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
1.83 -#define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
1.84 -
1.85 -#define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
1.86 -#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
1.87 -
1.88 -#if defined (_WINDLL)
1.89 -# define _STLP_DLL
1.90 -#endif
1.91 -#if defined (_DLL)
1.92 -# define _STLP_RUNTIME_DLL
1.93 -#endif
1.94 -#include <stl/config/_detect_dll_or_lib.h>
1.95 -#undef _STLP_RUNTIME_DLL
1.96 -#undef _STLP_DLL
1.97 -
1.98 -#if defined (_STLP_USE_DYNAMIC_LIB)
1.99 -# define _STLP_USE_DECLSPEC 1
1.100 -# if defined (__BUILDING_STLPORT)
1.101 -# define _STLP_CALL __export
1.102 -# else
1.103 -# define _STLP_CALL
1.104 -# endif
1.105 -#else
1.106 -# define _STLP_CALL
1.107 -#endif
1.108 -
1.109 -#include <stl/config/_auto_link.h>
1.110 -
1.111 -# undef __SC__
1.112 -
1.113 +// STLport configuration file for Digital Mars C++
1.114 +
1.115 +//#define _STLP_VERBOSE
1.116 +
1.117 +#define _STLP_COMPILER "DMC"
1.118 +
1.119 +#if defined (_STLP_VERBOSE)
1.120 +# pragma message __DMC_VERSION_STRING__
1.121 +#endif
1.122 +
1.123 +#if (__DMC__ < 0x846)
1.124 +# error "Digital Mars C++ versions prior to 8.46 are not supported!"
1.125 +#endif
1.126 +
1.127 +#ifndef _CPPUNWIND
1.128 +# define _STLP_NO_EXCEPTIONS
1.129 +#endif
1.130 +#define _STLP_VENDOR_GLOBAL_CSTD
1.131 +
1.132 +//DMC prefer enum to real static const variable because it do not consider
1.133 +//static const as const enough to be used in switch declaration...
1.134 +#define _STLP_STATIC_CONST_INIT_BUG
1.135 +
1.136 +#if !defined (_WIN32)
1.137 +// it's not fully supported on non-Win32 platforms
1.138 +# define _STLP_NO_NATIVE_WIDE_FUNCTIONS
1.139 +#endif
1.140 +
1.141 +/* _STLP_NO_OWN_NAMESPACE is defined because Digital Mars' linker and libarian
1.142 + appear to have problems with STLport namespaces. Summary of the issues:
1.143 +
1.144 + STATIC: Digital Mars' librarian (lib.exe) may fail with "len <= IDMAX" error
1.145 + if _STLP_DEBUG is defined. This is because Digital Mars' librarian uses
1.146 + Microsoft OMF format, which limits identifier length to about 512 bytes.
1.147 + With STLport namespaces, some identifiers such as Category_Map in
1.148 + src/locale_catalog.cpp may exceed the maximum OMF identifier length.
1.149 +
1.150 + DYNAMIC: Export issues with cin, cout, cerr, clog in src/iostream.cpp.
1.151 + Exports in Digital Mars 'def' file must match mangled names in iostream.cpp.
1.152 + With STLport namespaces, the mangled names in the intermediate files no
1.153 + longer match these pre-defined exports. To use STLport dynamic libraries
1.154 + and STLport namespaces with Digital Mars, the pre-defined exports in
1.155 + src/iostream.cpp and the related Digital Mars 'def' files would need to be
1.156 + revised. */
1.157 +#define _STLP_NO_OWN_NAMESPACE 1
1.158 +
1.159 +// select threads strategy
1.160 +#if defined (_MT) && !defined (_NOTHREADS)
1.161 +# define _REENTRANT
1.162 +#else
1.163 +# define _NOTHREADS
1.164 +#endif
1.165 +
1.166 +#ifndef _BOOL_DEFINED
1.167 +# define _STLP_NO_BOOL
1.168 +#else
1.169 +# define _STLP_DONT_USE_BOOL_TYPEDEF
1.170 +#endif
1.171 +
1.172 +#if _INTEGRAL_MAX_BITS >= 64
1.173 +# define _STLP_LONG_LONG long long
1.174 +#endif
1.175 +
1.176 +#define _STLP_DONT_USE_PRIV_NAMESPACE
1.177 +#define _STLP_NO_BAD_ALLOC
1.178 +#define _STLP_THROW_RETURN_BUG
1.179 +
1.180 +#if !defined (_DLL)
1.181 +# undef _STLP_NO_UNEXPECTED_EXCEPT_SUPPORT
1.182 +#endif
1.183 +
1.184 +#define _STLP_USE_ABBREVS
1.185 +#define _STLP_NO_CONTAINERS_EXTENSION
1.186 +#define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER
1.187 +
1.188 +#define _STLP_EXPORT_DECLSPEC __declspec(dllexport)
1.189 +#define _STLP_IMPORT_DECLSPEC __declspec(dllimport)
1.190 +
1.191 +#define _STLP_CLASS_EXPORT_DECLSPEC __declspec(dllexport)
1.192 +#define _STLP_CLASS_IMPORT_DECLSPEC __declspec(dllimport)
1.193 +
1.194 +#define _STLP_IMPORT_TEMPLATE_KEYWORD __declspec(dllimport)
1.195 +#define _STLP_EXPORT_TEMPLATE_KEYWORD __declspec(dllexport)
1.196 +
1.197 +#if defined (_WINDLL)
1.198 +# define _STLP_DLL
1.199 +#endif
1.200 +#if defined (_DLL)
1.201 +# define _STLP_RUNTIME_DLL
1.202 +#endif
1.203 +#include <stl/config/_detect_dll_or_lib.h>
1.204 +#undef _STLP_RUNTIME_DLL
1.205 +#undef _STLP_DLL
1.206 +
1.207 +#if defined (_STLP_USE_DYNAMIC_LIB)
1.208 +# define _STLP_USE_DECLSPEC 1
1.209 +# if defined (__BUILDING_STLPORT)
1.210 +# define _STLP_CALL __export
1.211 +# else
1.212 +# define _STLP_CALL
1.213 +# endif
1.214 +#else
1.215 +# define _STLP_CALL
1.216 +#endif
1.217 +
1.218 +#include <stl/config/_auto_link.h>
1.219 +
1.220 +# undef __SC__
1.221 +