epoc32/include/tools/stlport/stl/config/_ibm.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/stl/config/_ibm.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +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 */