epoc32/include/stdapis/stlport/config/stl_epoc.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/stlport/config/stl_epoc.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/config/stl_epoc.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,171 @@
     1.4 -stl_epoc.h
     1.5 +/*
     1.6 + * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     1.7 + *
     1.8 + * Copyright (c) 1997
     1.9 + * Moscow Center for SPARC Technology
    1.10 + *
    1.11 + * Copyright (c) 1999 
    1.12 + * Boris Fomitchev
    1.13 + *
    1.14 + * This material is provided "as is", with absolutely no warranty expressed
    1.15 + * or implied. Any use is at your own risk.
    1.16 + *
    1.17 + * Permission to use or copy this software for any purpose is hereby granted 
    1.18 + * without fee, provided the above notices are retained on all copies.
    1.19 + * Permission to modify the code and to distribute modified code is granted,
    1.20 + * provided the above notices are retained, and a notice that the code was
    1.21 + * modified is included with the above copyright notice.
    1.22 + *
    1.23 + */
    1.24 +
    1.25 +/*
    1.26 + * Purpose of this file :
    1.27 + *
    1.28 + * A list of COMPILER-SPECIFIC portion of STLport settings.
    1.29 + * This file is provided to help in manulal configuration
    1.30 + * of STLport. This file is being included by stlcomp.h 
    1.31 + * when STLport is unable to identify your compiler.
    1.32 + * Please remove the error diagnostic below before adjusting 
    1.33 + * macros.
    1.34 + * 
    1.35 + */
    1.36 +# ifndef _STLP_EPOC_H
    1.37 +#  define  _STLP_EPOC_H
    1.38 +
    1.39 +// NON-STANDARD!!!!
    1.40 +
    1.41 +#if defined(__WINS__)
    1.42 +#  pragma warning ( disable : 4018 4097 4100 4127 4244 4284 4511 4512 4514 4786 4800 ) //4355 4284  4231 4511 4512 4097 4786 4800 4018 4146 4244 4514 4127 4100 4663)
    1.43 +#  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
    1.44 +// Uncomment if partial order of template functions is not available
    1.45 +#  define _STLP_NO_FUNC_PARTIAL_ORDERING 1
    1.46 +#endif
    1.47 +/*
    1.48 +#ifndef _STLP_NO_IOSTREAMS
    1.49 +#  define _STLP_NO_IOSTREAMS	               1
    1.50 +#endif
    1.51 +
    1.52 +#  undef  _STLP_OWN_IOSTREAMS
    1.53 +#  define _STLP_NO_NATIVE_MBSTATE_T            1
    1.54 +//#  define _NOTHREADS                           1
    1.55 +#  define _STLP_NO_TYPEINFO                    1
    1.56 +*/
    1.57 +#ifndef __PLACEMENT_NEW_INLINE
    1.58 +#ifndef __E32STD_H__
    1.59 +inline void * operator new(unsigned int, void *_P) { return (_P); }
    1.60 +#define __PLACEMENT_NEW_INLINE
    1.61 +#endif // E32STD_H
    1.62 +#endif
    1.63 +
    1.64 +//==========================================================
    1.65 +
    1.66 +// the values choosen here as defaults try to give
    1.67 +// maximum functionality on the most conservative settings
    1.68 +
    1.69 +// Mostly correct guess, change it for Alpha (and other environments
    1.70 +// that has 64-bit "long")
    1.71 +#  define _STLP_UINT32_T unsigned long
    1.72 +
    1.73 +// Disables wchar_t functinality
    1.74 +#  define _STLP_NO_WCHAR_T  1
    1.75 +
    1.76 +// Define if wchar_t is not a unique type, and is actually a typedef to unsigned short. 
    1.77 +// #  define _STLP_WCHAR_T_IS_USHORT 1
    1.78 +
    1.79 +// Uncomment if long long is available
    1.80 +// #  define _STLP_LONG_LONG long long
    1.81 +
    1.82 +// Uncomment if long double is not available
    1.83 +// #  define _STLP_NO_LONG_DOUBLE 1
    1.84 +
    1.85 +// Uncomment this if your compiler does not support namespaces 
    1.86 +#  define _STLP_HAS_NO_NAMESPACES 1
    1.87 +
    1.88 +// Uncomment if "using" keyword does not work with template types 
    1.89 +// # define _STLP_BROKEN_USING_DIRECTIVE 1
    1.90 +
    1.91 +// Uncomment this if your compiler does not support exceptions
    1.92 +#  define _STLP_HAS_NO_EXCEPTIONS 1
    1.93 +
    1.94 +// Header <new> that comes with the compiler 
    1.95 +// does not define bad_alloc exception
    1.96 +//#if defined(__WINS__)
    1.97 +// Possibly required ???
    1.98 +#  define _STLP_NO_BAD_ALLOC  1
    1.99 +//#endif
   1.100 +
   1.101 +// Uncomment if member template methods are not available
   1.102 +// #  define _STLP_NO_MEMBER_TEMPLATES   1
   1.103 +
   1.104 +// Uncomment if member template classes are not available
   1.105 +#if defined(__WINS__)
   1.106 +#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES   1
   1.107 +#endif
   1.108 +
   1.109 +// Uncomment if friend member templates are not available
   1.110 +#if defined(__WINS__)
   1.111 +// Possibly required ???
   1.112 +//#  define _STLP_NO_FRIEND_TEMPLATES   1
   1.113 +#endif
   1.114 +
   1.115 +// Compiler does not accept friend declaration qualified with namespace name.
   1.116 +// #  define _STLP_NO_QUALIFIED_FRIENDS 1
   1.117 +
   1.118 +// Uncomment if partial specialization is not available
   1.119 +#if defined(__WINS__)
   1.120 +#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
   1.121 +#endif
   1.122 +
   1.123 +// Define if class being partially specialized require full name (template parameters)
   1.124 +// of itself for method declarations
   1.125 +// #  define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
   1.126 +
   1.127 +// Compiler has problems specializing members of partially 
   1.128 +// specialized class
   1.129 +// #  define _STLP_MEMBER_SPECIALIZATION_BUG
   1.130 +
   1.131 +// Compiler requires typename keyword on outline method definition 
   1.132 +// explicitly taking nested types/typedefs
   1.133 +// #define  _STLP_TYPENAME_ON_RETURN_TYPE
   1.134 +
   1.135 +// * _STLP_STATIC_CONST_INIT_BUG: defined if the compiler can't handle a
   1.136 +//   constant-initializer in the declaration of a static const data member
   1.137 +//   of integer type.  (See section 9.4.2, paragraph 4, of the C++ standard.)
   1.138 +#if defined(__WINS__)
   1.139 +# define _STLP_STATIC_CONST_INIT_BUG
   1.140 +#endif
   1.141 +
   1.142 +// Define if default constructor for builtin integer type fails to initialize it to 0
   1.143 +// #  define _STLP_DEFAULT_CONSTRUCTOR_BUG    1
   1.144 +
   1.145 +// Defined if constructor
   1.146 +// required to explicitly call member's default constructors for const objects
   1.147 +// #  define _STLP_CONST_CONSTRUCTOR_BUG    1
   1.148 +
   1.149 +// Define this if compiler lacks <exception> header
   1.150 +#  define _STLP_NO_EXCEPTION_HEADER 1
   1.151 +
   1.152 +// Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
   1.153 +#   define _STLP_HAS_NO_NEW_C_HEADERS 1
   1.154 +
   1.155 +// uncomment if new-style headers <new> is available
   1.156 +// #  define _STLP_HAS_NEW_NEW_HEADER 1
   1.157 +
   1.158 +// uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
   1.159 +// not std::
   1.160 +// #  define _STLP_VENDOR_GLOBAL_STD
   1.161 +
   1.162 +// uncomment this if <cstdio> and the like put stuff in ::namespace,
   1.163 +// not std::
   1.164 +#  define _STLP_VENDOR_GLOBAL_CSTD
   1.165 +
   1.166 +// Edit relative path below (or put full path) to get native 
   1.167 +// compiler headers included. Default is "../include".
   1.168 +// C headers may reside in different directory, so separate macro is provided.
   1.169 +// Hint : never install STLport in the directory that ends with "include"
   1.170 +// # define _STLP_NATIVE_INCLUDE_PATH ../include
   1.171 +# define _STLP_NATIVE_C_INCLUDE_PATH libc
   1.172 +# define _STLP_NATIVE_INCLUDE_PATH libc
   1.173 +
   1.174 +//==========================================================
   1.175 +# endif