stl_sunpro.h

00001 // STLport configuration file
00002 // It is internal STLport header - DO NOT include it directly
00003 
00004 #  define _STLP_LONG_LONG  long long
00005 #  define _STLP_LINK_TIME_INSTANTIATION 1
00006 
00007 # if ! defined(_BOOL)
00008 #  define _STLP_NO_BOOL 1
00009 # endif
00010 
00011 #  if (__SUNPRO_CC >= 0x500 ) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 )) \
00012     && defined (_STLP_NO_OWN_IOSTREAMS) && ! defined (_STLP_HAS_NO_NEW_IOSTREAMS)
00013 #    error "The wrapper (_STLP_NO_OWN_IOSTREAMS) mode does not work well without _STLP_HAS_NO_NEW_IOSTREAMS. Please set this flag. You will also have to use -liostream option on link phase."
00014 // #   define _STLP_HAS_NO_NEW_IOSTREAMS
00015 #  endif
00016 
00017 // compatibility mode stuff
00018 # if (__SUNPRO_CC >= 0x510) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 ))
00019 #  define _STLP_NATIVE_INCLUDE_PATH ../CC/Cstd
00020 #  define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../CC
00021 # elif (__SUNPRO_CC >= 0x500) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 ))
00022 #  define _STLP_NATIVE_INCLUDE_PATH ../CC
00023 # elif (defined (__SUNPRO_CC_COMPAT) && __SUNPRO_CC_COMPAT == 4)
00024 #  define _STLP_NATIVE_INCLUDE_PATH ../CC4
00025 # else
00026 #  define _STLP_NATIVE_INCLUDE_PATH ../CC
00027 # endif
00028 
00029 #  if (__SUNPRO_CC >= 0x500 ) && ( defined (_STLP_NO_NEW_IOSTREAMS) || defined (_STLP_HAS_NO_NEW_IOSTREAMS) )
00030 // if the project is set up to use libiostream (_STLP_NO_NEW_IOSTREAMS should be defined then),
00031 // use classic iostreams
00032 #   define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../CCios
00033 #  endif
00034 
00035 #  define _STLP_STATIC_CONST_INIT_BUG 1
00036 
00037 # if (__SUNPRO_CC < 0x530)
00038 // those are tested and proved not to work...
00039 #  define _STLP_STATIC_ARRAY_BUG 1
00040 #  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
00041 #  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
00042 #  define _STLP_USE_OLD_HP_ITERATOR_QUERIES
00043 # endif 
00044 
00045 
00046 # if defined (_STLP_OWN_IOSTREAMS)
00047 //#  if ! defined (_STLP_NO_OWN_NAMESPACE)
00048 //#   define _STLP_NO_OWN_NAMESPACE
00049 //#  endif
00050 # else
00051 #  define _STLP_HAS_NO_NEW_C_HEADERS 1
00052 # endif
00053 
00054 // those do not depend on compatibility
00055 # if (__SUNPRO_CC < 0x510)
00056 #  define _STLP_NO_TYPENAME_ON_RETURN_TYPE 1 
00057 #  define _STLP_NONTEMPL_BASE_MATCH_BUG 1
00058 # endif
00059 
00060 # if (__SUNPRO_CC < 0x510) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5))
00061 
00062 #  define _STLP_NO_QUALIFIED_FRIENDS 1
00063 
00064 // no partial , just for explicit one
00065 #  define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
00066 #  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
00067 
00068 #  define _STLP_NO_MEMBER_TEMPLATES 1
00069 #  define _STLP_NO_FRIEND_TEMPLATES 1
00070 
00071 #  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
00072 #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS
00073 #  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
00074 # endif
00075 
00076 // Features that depend on compatibility switch
00077 # if ( __SUNPRO_CC < 0x500 ) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5))
00078 
00079 #  ifndef _STLP_HAS_NO_NEW_IOSTREAMS
00080 #   define _STLP_HAS_NO_NEW_IOSTREAMS 1
00081 #  endif
00082 #  define _STLP_NO_NEW_NEW_HEADER 1
00083 // #  define _STLP_NO_RELOPS_NAMESPACE
00084 #  define _STLP_HAS_NO_NAMESPACES 1
00085 #  define _STLP_NEED_MUTABLE  1
00086 #  define _STLP_NO_BAD_ALLOC 1
00087 #  define _STLP_NO_EXCEPTION_HEADER 1
00088 #  define _STLP_NATIVE_C_INCLUDE_PATH ../include
00089 # elif (__SUNPRO_CC < 0x510)
00090 // #  define _STLP_NATIVE_C_HEADER(header) <../CC/##header##.SUNWCCh>
00091 #  define _STLP_NATIVE_CPP_C_HEADER(header) <../CC/##header##.SUNWCCh>
00092 #  define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
00093 # elif defined( __SunOS_5_5_1 ) || defined( __SunOS_5_6 ) || defined( __SunOS_5_7 )
00094 #  define _STLP_NATIVE_C_INCLUDE_PATH ../CC/std
00095 #  define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std
00096 # else
00097 #  define _STLP_NATIVE_C_INCLUDE_PATH /usr/include
00098 #  define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std
00099 # endif
00100 
00101 
00102 
00103 #  if ( __SUNPRO_CC < 0x500 )
00104 
00105 # undef _STLP_NATIVE_C_HEADER
00106 # undef _STLP_NATIVE_CPP_C_HEADER
00107 
00108 #   define wint_t __wint_t 
00109 // famous CC 4.2 bug
00110 #   define _STLP_INLINE_STRING_LITERAL_BUG 1
00111 // /usr/include
00112 #   define _STLP_NATIVE_C_INCLUDE_PATH ../include
00113 
00114 // 4.2 cannot handle iterator_traits<_Tp>::iterator_category as a return type ;(
00115 #  define _STLP_USE_OLD_HP_ITERATOR_QUERIES
00116 
00117 // 4.2 does not like it
00118 #  undef  _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS
00119 
00120 #  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
00121 
00122 #  define _STLP_NEED_TYPENAME 1
00123 #  define _STLP_NEED_EXPLICIT 1
00124 #  define _STLP_UNINITIALIZABLE_PRIVATE 1
00125 #  define _STLP_NO_BAD_ALLOC 1
00126 #  define _STLP_NO_ARROW_OPERATOR 1
00127 
00128 #  define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
00129 #  define _STLP_GLOBAL_NESTED_RETURN_TYPE_PARAM_BUG 1
00130 #  undef  _STLP_HAS_NO_NEW_C_HEADERS
00131 #  define _STLP_HAS_NO_NEW_C_HEADERS 1
00132 
00133 #   if ( __SUNPRO_CC < 0x420 )
00134 #    define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
00135 #    define _STLP_NO_NEW_STYLE_CASTS 1
00136 #    define _STLP_NO_METHOD_SPECIALIZATION 1
00137 #    define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
00138 #    if ( __SUNPRO_CC > 0x401 )
00139 #     if (__SUNPRO_CC==0x410)
00140 #      define _STLP_BASE_TYPEDEF_OUTSIDE_BUG  1
00141 #     endif
00142 #    else
00143    // SUNPro C++ 4.0.1
00144 #     define _STLP_BASE_MATCH_BUG          1
00145 #     define _STLP_BASE_TYPEDEF_BUG        1
00146 #      if ( __SUNPRO_CC < 0x401 )
00147         __GIVE_UP_WITH_STL(SUNPRO_401)
00148 #      endif
00149 #    endif /* 4.0.1 */
00150 #   endif /* 4.2 */
00151 
00152 #  endif /* <  5.0 */
00153 
00154 # include <config/stl_solaris.h>
00155 
00156 #ifndef _MBSTATET_H
00157 #   define _MBSTATET_H
00158 #   undef _MBSTATE_T
00159 #   define _MBSTATE_T
00160     typedef struct __mbstate_t {
00161       #if defined(_LP64)
00162         long    __filler[4];
00163       #else
00164         int     __filler[6];
00165       #endif
00166     } __mbstate_t;
00167 # ifndef _STLP_HAS_NO_NAMESPACES
00168     namespace std {
00169         typedef __mbstate_t     mbstate_t;
00170     }
00171     using std::mbstate_t;
00172 # endif
00173 #endif  /* __MBSTATET_H */

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