stl_ibm.h

00001 // STLport configuration file
00002 // It is internal STLport header - DO NOT include it directly
00003 
00004 #if !defined(__IBMCPP__) || (__IBMCPP__ < 500)
00005 # define _STLP_HAS_NO_NEW_C_HEADERS 1
00006 #endif
00007 
00008 // string literal problem, same as with SUN and aCC
00009 # define _STLP_INLINE_STRING_LITERAL_BUG 1
00010 # define _STLP_HAS_NATIVE_FLOAT_ABS
00011 
00012 #  define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
00013 
00014 
00015 # ifdef __IBMCPP__
00016 #  define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
00017 # endif
00018 
00019 // #  if ( defined (__MULTI__) && defined (__WINDOWS__))
00020 // #   define  _STLP_WIN32THREADS 1          // Only Visual Age 3.5 for Windows
00021 // #  endif
00022 
00023 #  if ( defined (__MULTI__) && defined (__OS2__))
00024 #   define _STLP_OS2THREADS 1
00025 #  endif
00026 
00027 // __TEMPINC__ is set when /Ft+ option is used
00028 #  ifdef __TEMPINC__
00029 #    define _STLP_LINK_TIME_INSTANTIATION 1
00030 #  endif
00031 
00032 # if defined (__MVS__)
00033 // long long support is buggy - reported by Tinny Ng
00034 // #  if __EXTENDED__ && __COMPILER_VER__ >= 0x22060000
00035 // #   define _STLP_LONG_LONG long long
00036 // #  endif
00037 // boris : hstash reported it can be treated like UNIX
00038 #  define _STLP_UNIX 1
00039 #  define _STLP_NO_TYPEINFO 1
00040 #  undef _STLP_NATIVE_INCLUDE_PATH
00041 #  define _STLP_NATIVE_INCLUDE_PATH /usr/lpp/ioclib/include
00042 // same for C headers like <string.h>
00043 #  undef _STLP_NATIVE_C_INCLUDE_PATH
00044 #  define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
00045 #  define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH /usr/include
00046 
00047 # elif (defined (__WINDOWS__) || defined (_AIX) || defined (__OS2__) ) && (__IBMCPP__ >= 350)
00048 
00049 #  define _STLP_LONG_LONG long long
00050 
00051 #endif
00052 
00053 #if !( defined( __xlC__ ) && __xlC__ >= 0x500 )
00054 
00055 // AIX xlC 3.1 , 3.0.1 ==0x301
00056 // Visual Age C++ 3.x
00057 // OS-390 C++
00058 // fbp : should be more version-specific!
00059 
00060 #  define _STLP_NO_BOOL 1
00061 #  define _STLP_DONT_USE_BOOL_TYPEDEF 1
00062 #  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
00063 #  define _STLP_HAS_NO_NAMESPACES 1
00064 #  define _STLP_NEED_TYPENAME 1
00065 #  define _STLP_NEED_EXPLICIT 1
00066 #  define _STLP_NO_ARROW_OPERATOR 1
00067 #  define _STLP_NO_NEW_STYLE_CASTS 1
00068 #  define _STLP_NO_WCHAR_T 1
00069 #  define _STLP_NEED_MUTABLE 1
00070 #  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
00071 #  define _STLP_NO_BAD_ALLOC 1
00072 
00073 #  define _STLP_NO_MEMBER_TEMPLATES 1
00074 #  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
00075 #  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
00076 #  define _STLP_NO_FRIEND_TEMPLATES 1
00077 #  define _STLP_NO_QUALIFIED_FRIENDS 1
00078 #  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
00079 #  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
00080 
00081 #  define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
00082 #  define _STLP_NO_METHOD_SPECIALIZATION 1
00083 #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
00084 #  define _STLP_NO_EXCEPTION_HEADER 1
00085 
00086 #  define _STLP_HAS_NO_NEW_IOSTREAMS 1
00087 #  define _STLP_NO_NEW_NEW_HEADER 1
00088 
00089 #  if defined (__OS2__) && (__IBMCPP__ <= 350)
00090 #   define _STLP_NO_TYPEINFO 1
00091 #  endif
00092 #  define _STLP_NO_NEW_NEW_HEADER 1
00093 
00094 #  define _STLP_STATIC_CONST_INIT_BUG 1
00095 // #  define _STLP_THROW_RETURN_BUG 1
00096 
00097 
00098 #  define _STLP_NO_TEMPLATE_CONVERSIONS 1
00099 #  define _STLP_UNINITIALIZABLE_PRIVATE 1
00100 #  define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
00101 #  define _STLP_STATIC_ARRAY_BUG 1
00102 
00103 // AIX xlC, Visual Age 3.0 for OS/2 and MS 
00104 #  define _STLP_TRIVIAL_DESTRUCTOR_BUG
00105 
00106 #  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
00107 #  define _STLP_NONTEMPL_BASE_MATCH_BUG 1
00108 
00109 #if __IBMCPP__ <= 350
00110 #  define _STLP_NEED_UNREACHABLE_RETURN 1
00111 #endif
00112 
00113 #if __IBMCPP__ < 350
00114 #  define _STLP_NO_LONG_DOUBLE 1
00115 #endif
00116 
00117 #if __IBMCPP__ >= 365
00118 // does not have new C headers, but has div()
00119 #  define _STLP_LDIV
00120 #endif
00121 
00122 #endif /* xlC 5 */
00123 
00124 /* detect xlC5 by: */
00125 #if defined(__IBMCPP__) && (500 <= __IBMCPP__) && (__IBMCPP__ < 600)
00126 #define _STLP_USE_EXCEPTIONS 1
00127 #define _STLP_STATIC_CONST_INIT_BUG 1 
00128 //#pragma report(disable,CPPC1500029)
00129 // unsigned 32-bit integer type
00130 #  define _STLP_UINT32_T unsigned int
00131 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
00132 # define _STLP_RAND48 1
00133 #endif
00134 // #  define _STLP_RAND48 1
00135 # endif /* __IBMCPP__ == 500 */
00136 
00137 
00138 

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6