epoc32/include/tools/stlport/stl/config/_ibm.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/tools/stlport/stl/config/_ibm.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/_ibm.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,146 +1,146 @@
     1.4 -/* STLport configuration file
     1.5 - * It is internal STLport header - DO NOT include it directly
     1.6 - */
     1.7 -
     1.8 -#if defined (__IBMCPP__) || defined (__IBMC__)
     1.9 -#  define _STLP_COMPILER "Visual Age C++"
    1.10 -#elif defined (__xlC__)
    1.11 -#  define _STLP_COMPILER "xlc"
    1.12 -#else
    1.13 -#  error "Unknown compiler"
    1.14 -#endif
    1.15 -
    1.16 -#if !defined(__IBMCPP__) || (__IBMCPP__ < 500)
    1.17 -# define _STLP_HAS_NO_NEW_C_HEADERS 1
    1.18 -#endif
    1.19 -
    1.20 -/* string literal problem, same as with SUN and aCC */
    1.21 -# define _STLP_INLINE_STRING_LITERAL_BUG 1
    1.22 -# define _STLP_HAS_NATIVE_FLOAT_ABS
    1.23 -
    1.24 -# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
    1.25 -# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
    1.26 -
    1.27 -
    1.28 -# ifdef __IBMCPP__
    1.29 -#  define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
    1.30 -# endif
    1.31 -
    1.32 -/* #  if ( defined (__MULTI__) && defined (__WINDOWS__))
    1.33 - * #   define  _STLP_WIN32THREADS 1           Only Visual Age 3.5 for Windows
    1.34 - * #  endif
    1.35 - */
    1.36 -
    1.37 -#  if ( defined (__MULTI__) && defined (__OS2__))
    1.38 -#   define _STLP_OS2THREADS 1
    1.39 -#  endif
    1.40 -
    1.41 -/* __TEMPINC__ is set when /Ft+ option is used */
    1.42 -#  ifdef __TEMPINC__
    1.43 -#    define _STLP_LINK_TIME_INSTANTIATION 1
    1.44 -#  endif
    1.45 -
    1.46 -# if defined (__MVS__)
    1.47 -/* long long support is buggy - reported by Tinny Ng
    1.48 - * #  if __EXTENDED__ && __COMPILER_VER__ >= 0x22060000
    1.49 - * #   define _STLP_LONG_LONG long long
    1.50 - * #  endif
    1.51 - */
    1.52 -/* boris : hstash reported it can be treated like UNIX */
    1.53 -#  define _STLP_UNIX 1
    1.54 -#  define _STLP_NO_TYPEINFO 1
    1.55 -#  undef _STLP_NATIVE_INCLUDE_PATH
    1.56 -#  define _STLP_NATIVE_INCLUDE_PATH /usr/lpp/ioclib/include
    1.57 -/* same for C headers like <string.h> */
    1.58 -#  undef _STLP_NATIVE_C_INCLUDE_PATH
    1.59 -#  define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
    1.60 -#  define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH /usr/include
    1.61 -
    1.62 -# elif (defined (__WINDOWS__) || defined (_AIX) || defined (__OS2__) ) && (__IBMCPP__ >= 350)
    1.63 -
    1.64 -#  define _STLP_LONG_LONG long long
    1.65 -
    1.66 -#endif
    1.67 -
    1.68 -#if !( defined( __xlC__ ) && __xlC__ >= 0x500 )
    1.69 -
    1.70 -/* AIX xlC 3.1 , 3.0.1 ==0x301
    1.71 - * Visual Age C++ 3.x
    1.72 - * OS-390 C++
    1.73 - * fbp : should be more version-specific!
    1.74 - */
    1.75 -
    1.76 -#  define _STLP_NO_BOOL 1
    1.77 -#  define _STLP_DONT_USE_BOOL_TYPEDEF 1
    1.78 -#  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
    1.79 -#  define _STLP_HAS_NO_NAMESPACES 1
    1.80 -#  define _STLP_NEED_TYPENAME 1
    1.81 -#  define _STLP_NEED_EXPLICIT 1
    1.82 -#  define _STLP_NO_ARROW_OPERATOR 1
    1.83 -#  define _STLP_NO_NEW_STYLE_CASTS 1
    1.84 -#  define _STLP_NO_WCHAR_T 1
    1.85 -#  define _STLP_NEED_MUTABLE 1
    1.86 -#  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
    1.87 -#  define _STLP_NO_BAD_ALLOC 1
    1.88 -
    1.89 -#  define _STLP_NO_MEMBER_TEMPLATES 1
    1.90 -#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
    1.91 -#  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
    1.92 -#  define _STLP_NO_FRIEND_TEMPLATES 1
    1.93 -#  define _STLP_NO_QUALIFIED_FRIENDS 1
    1.94 -#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
    1.95 -#  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
    1.96 -
    1.97 -#  define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
    1.98 -#  define _STLP_NO_METHOD_SPECIALIZATION 1
    1.99 -#  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
   1.100 -#  define _STLP_NO_EXCEPTION_HEADER 1
   1.101 -
   1.102 -#  define _STLP_NO_NEW_NEW_HEADER 1
   1.103 -
   1.104 -#  if defined (__OS2__) && (__IBMCPP__ <= 350)
   1.105 -#   define _STLP_NO_TYPEINFO 1
   1.106 -#  endif
   1.107 -#  define _STLP_NO_NEW_NEW_HEADER 1
   1.108 -
   1.109 -#  define _STLP_STATIC_CONST_INIT_BUG 1
   1.110 -/* #  define _STLP_THROW_RETURN_BUG 1 */
   1.111 -
   1.112 -
   1.113 -#  define _STLP_NO_TEMPLATE_CONVERSIONS 1
   1.114 -#  define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
   1.115 -
   1.116 -/* AIX xlC, Visual Age 3.0 for OS/2 and MS */
   1.117 -#  define _STLP_TRIVIAL_DESTRUCTOR_BUG
   1.118 -
   1.119 -#  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
   1.120 -#  define _STLP_NONTEMPL_BASE_MATCH_BUG 1
   1.121 -
   1.122 -#if __IBMCPP__ <= 350
   1.123 -#  define _STLP_NEED_UNREACHABLE_RETURN 1
   1.124 -#endif
   1.125 -
   1.126 -#if __IBMCPP__ < 350
   1.127 -#  define _STLP_NO_LONG_DOUBLE 1
   1.128 -#endif
   1.129 -
   1.130 -#if __IBMCPP__ >= 365
   1.131 -/* does not have new C headers, but has div() */
   1.132 -#  define _STLP_LDIV
   1.133 -#endif
   1.134 -
   1.135 -#endif /* xlC 5 */
   1.136 -
   1.137 -/* detect xlC5 by: */
   1.138 -#if defined(__IBMCPP__) && (500 <= __IBMCPP__) && (__IBMCPP__ < 700)
   1.139 -#  define _STLP_USE_EXCEPTIONS 1
   1.140 -#  define _STLP_STATIC_CONST_INIT_BUG 1
   1.141 -/* #pragma report(disable,CPPC1500029)
   1.142 - * unsigned 32-bit integer type
   1.143 - */
   1.144 -#  define _STLP_UINT32_T unsigned int
   1.145 -#  if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
   1.146 -#    define _STLP_RAND48 1
   1.147 -#  endif
   1.148 -/* #  define _STLP_RAND48 1 */
   1.149 -#endif /* __IBMCPP__ == 500 */
   1.150 +/* STLport configuration file
   1.151 + * It is internal STLport header - DO NOT include it directly
   1.152 + */
   1.153 +
   1.154 +#if defined (__IBMCPP__) || defined (__IBMC__)
   1.155 +#  define _STLP_COMPILER "Visual Age C++"
   1.156 +#elif defined (__xlC__)
   1.157 +#  define _STLP_COMPILER "xlc"
   1.158 +#else
   1.159 +#  error "Unknown compiler"
   1.160 +#endif
   1.161 +
   1.162 +#if !defined(__IBMCPP__) || (__IBMCPP__ < 500)
   1.163 +# define _STLP_HAS_NO_NEW_C_HEADERS 1
   1.164 +#endif
   1.165 +
   1.166 +/* string literal problem, same as with SUN and aCC */
   1.167 +# define _STLP_INLINE_STRING_LITERAL_BUG 1
   1.168 +# define _STLP_HAS_NATIVE_FLOAT_ABS
   1.169 +
   1.170 +# define _STLP_DEF_CONST_PLCT_NEW_BUG 1
   1.171 +# define _STLP_DEF_CONST_DEF_PARAM_BUG 1
   1.172 +
   1.173 +
   1.174 +# ifdef __IBMCPP__
   1.175 +#  define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
   1.176 +# endif
   1.177 +
   1.178 +/* #  if ( defined (__MULTI__) && defined (__WINDOWS__))
   1.179 + * #   define  _STLP_WIN32THREADS 1           Only Visual Age 3.5 for Windows
   1.180 + * #  endif
   1.181 + */
   1.182 +
   1.183 +#  if ( defined (__MULTI__) && defined (__OS2__))
   1.184 +#   define _STLP_OS2THREADS 1
   1.185 +#  endif
   1.186 +
   1.187 +/* __TEMPINC__ is set when /Ft+ option is used */
   1.188 +#  ifdef __TEMPINC__
   1.189 +#    define _STLP_LINK_TIME_INSTANTIATION 1
   1.190 +#  endif
   1.191 +
   1.192 +# if defined (__MVS__)
   1.193 +/* long long support is buggy - reported by Tinny Ng
   1.194 + * #  if __EXTENDED__ && __COMPILER_VER__ >= 0x22060000
   1.195 + * #   define _STLP_LONG_LONG long long
   1.196 + * #  endif
   1.197 + */
   1.198 +/* boris : hstash reported it can be treated like UNIX */
   1.199 +#  define _STLP_UNIX 1
   1.200 +#  define _STLP_NO_TYPEINFO 1
   1.201 +#  undef _STLP_NATIVE_INCLUDE_PATH
   1.202 +#  define _STLP_NATIVE_INCLUDE_PATH /usr/lpp/ioclib/include
   1.203 +/* same for C headers like <string.h> */
   1.204 +#  undef _STLP_NATIVE_C_INCLUDE_PATH
   1.205 +#  define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
   1.206 +#  define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH /usr/include
   1.207 +
   1.208 +# elif (defined (__WINDOWS__) || defined (_AIX) || defined (__OS2__) ) && (__IBMCPP__ >= 350)
   1.209 +
   1.210 +#  define _STLP_LONG_LONG long long
   1.211 +
   1.212 +#endif
   1.213 +
   1.214 +#if !( defined( __xlC__ ) && __xlC__ >= 0x500 )
   1.215 +
   1.216 +/* AIX xlC 3.1 , 3.0.1 ==0x301
   1.217 + * Visual Age C++ 3.x
   1.218 + * OS-390 C++
   1.219 + * fbp : should be more version-specific!
   1.220 + */
   1.221 +
   1.222 +#  define _STLP_NO_BOOL 1
   1.223 +#  define _STLP_DONT_USE_BOOL_TYPEDEF 1
   1.224 +#  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
   1.225 +#  define _STLP_HAS_NO_NAMESPACES 1
   1.226 +#  define _STLP_NEED_TYPENAME 1
   1.227 +#  define _STLP_NEED_EXPLICIT 1
   1.228 +#  define _STLP_NO_ARROW_OPERATOR 1
   1.229 +#  define _STLP_NO_NEW_STYLE_CASTS 1
   1.230 +#  define _STLP_NO_WCHAR_T 1
   1.231 +#  define _STLP_NEED_MUTABLE 1
   1.232 +#  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
   1.233 +#  define _STLP_NO_BAD_ALLOC 1
   1.234 +
   1.235 +#  define _STLP_NO_MEMBER_TEMPLATES 1
   1.236 +#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
   1.237 +#  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
   1.238 +#  define _STLP_NO_FRIEND_TEMPLATES 1
   1.239 +#  define _STLP_NO_QUALIFIED_FRIENDS 1
   1.240 +#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
   1.241 +#  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
   1.242 +
   1.243 +#  define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
   1.244 +#  define _STLP_NO_METHOD_SPECIALIZATION 1
   1.245 +#  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
   1.246 +#  define _STLP_NO_EXCEPTION_HEADER 1
   1.247 +
   1.248 +#  define _STLP_NO_NEW_NEW_HEADER 1
   1.249 +
   1.250 +#  if defined (__OS2__) && (__IBMCPP__ <= 350)
   1.251 +#   define _STLP_NO_TYPEINFO 1
   1.252 +#  endif
   1.253 +#  define _STLP_NO_NEW_NEW_HEADER 1
   1.254 +
   1.255 +#  define _STLP_STATIC_CONST_INIT_BUG 1
   1.256 +/* #  define _STLP_THROW_RETURN_BUG 1 */
   1.257 +
   1.258 +
   1.259 +#  define _STLP_NO_TEMPLATE_CONVERSIONS 1
   1.260 +#  define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
   1.261 +
   1.262 +/* AIX xlC, Visual Age 3.0 for OS/2 and MS */
   1.263 +#  define _STLP_TRIVIAL_DESTRUCTOR_BUG
   1.264 +
   1.265 +#  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
   1.266 +#  define _STLP_NONTEMPL_BASE_MATCH_BUG 1
   1.267 +
   1.268 +#if __IBMCPP__ <= 350
   1.269 +#  define _STLP_NEED_UNREACHABLE_RETURN 1
   1.270 +#endif
   1.271 +
   1.272 +#if __IBMCPP__ < 350
   1.273 +#  define _STLP_NO_LONG_DOUBLE 1
   1.274 +#endif
   1.275 +
   1.276 +#if __IBMCPP__ >= 365
   1.277 +/* does not have new C headers, but has div() */
   1.278 +#  define _STLP_LDIV
   1.279 +#endif
   1.280 +
   1.281 +#endif /* xlC 5 */
   1.282 +
   1.283 +/* detect xlC5 by: */
   1.284 +#if defined(__IBMCPP__) && (500 <= __IBMCPP__) && (__IBMCPP__ < 700)
   1.285 +#  define _STLP_USE_EXCEPTIONS 1
   1.286 +#  define _STLP_STATIC_CONST_INIT_BUG 1
   1.287 +/* #pragma report(disable,CPPC1500029)
   1.288 + * unsigned 32-bit integer type
   1.289 + */
   1.290 +#  define _STLP_UINT32_T unsigned int
   1.291 +#  if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
   1.292 +#    define _STLP_RAND48 1
   1.293 +#  endif
   1.294 +/* #  define _STLP_RAND48 1 */
   1.295 +#endif /* __IBMCPP__ == 500 */