Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygen_sunprocc.h
Go to the documentation of this file.
00001 // STLport configuration file 00002 // It is internal STLport header - DO NOT include it directly 00003 00004 #define _STLP_COMPILER "Sunpro CC" 00005 00006 #define _STLP_LONG_LONG long long 00007 00008 // GAB: 11/09/05 00009 // Starting with 5.0 the STLport code expects to be 00010 // instantiated during compile time. This is due to undefing 00011 // a number of defines that are also used in the c versions 00012 // of the file. When they are undefed the c version fails to 00013 // compile. 00014 // # define _STLP_LINK_TIME_INSTANTIATION 1 00015 00016 #if ! defined(_BOOL) 00017 # define _STLP_NO_BOOL 1 00018 #endif 00019 00020 // compatibility mode stuff 00021 #if (__SUNPRO_CC >= 0x510) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 )) 00022 # define _STLP_NATIVE_INCLUDE_PATH ../CC/Cstd 00023 # define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH ../CC 00024 #elif (__SUNPRO_CC >= 0x500) && (!defined (__SUNPRO_CC_COMPAT) || (__SUNPRO_CC_COMPAT == 5 )) 00025 # define _STLP_NATIVE_INCLUDE_PATH ../CC 00026 #elif (defined (__SUNPRO_CC_COMPAT) && __SUNPRO_CC_COMPAT == 4) 00027 # define _STLP_NATIVE_INCLUDE_PATH ../CC4 00028 #else 00029 # define _STLP_NATIVE_INCLUDE_PATH ../CC 00030 #endif 00031 00032 #define _STLP_STATIC_CONST_INIT_BUG 1 00033 00034 #if (__SUNPRO_CC < 0x530) 00035 // those are tested and proved not to work... 00036 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1 00037 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1 00038 # define _STLP_USE_OLD_HP_ITERATOR_QUERIES 00039 #endif 00040 00041 #ifdef _STLP_USE_NO_IOSTREAMS 00042 # define _STLP_HAS_NO_NEW_C_HEADERS 1 00043 #endif 00044 00045 // those do not depend on compatibility 00046 #if (__SUNPRO_CC < 0x510) 00047 # define _STLP_NO_TYPENAME_ON_RETURN_TYPE 1 00048 # define _STLP_NONTEMPL_BASE_MATCH_BUG 1 00049 #endif 00050 00051 #if (__SUNPRO_CC < 0x510) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5)) 00052 00053 # define _STLP_NO_QUALIFIED_FRIENDS 1 00054 00055 // no partial , just for explicit one 00056 # define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 00057 # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1 00058 00059 # define _STLP_NO_MEMBER_TEMPLATES 1 00060 00061 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1 00062 # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 00063 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1 00064 #endif 00065 00066 // Features that depend on compatibility switch 00067 #if ( __SUNPRO_CC < 0x500 ) || (defined (__SUNPRO_CC_COMPAT) && (__SUNPRO_CC_COMPAT < 5)) 00068 00069 # ifndef _STLP_USE_NO_IOSTREAMS 00070 # define _STLP_USE_NO_IOSTREAMS 1 00071 # endif 00072 # define _STLP_NO_NEW_NEW_HEADER 1 00073 // # define _STLP_NO_RELOPS_NAMESPACE 00074 # define _STLP_HAS_NO_NAMESPACES 1 00075 # define _STLP_NEED_MUTABLE 1 00076 # define _STLP_NO_BAD_ALLOC 1 00077 # define _STLP_NO_EXCEPTION_HEADER 1 00078 # define _STLP_NATIVE_C_INCLUDE_PATH ../include 00079 #elif (__SUNPRO_CC < 0x510) 00080 // # define _STLP_NATIVE_C_HEADER(header) <../CC/##header##.SUNWCCh> 00081 # define _STLP_NATIVE_CPP_C_HEADER(header) <../CC/##header##.SUNWCCh> 00082 # define _STLP_NATIVE_C_INCLUDE_PATH /usr/include 00083 #elif defined( __SunOS_5_5_1 ) || defined( __SunOS_5_6 ) || defined( __SunOS_5_7 ) 00084 # define _STLP_NATIVE_C_INCLUDE_PATH ../CC/std 00085 # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std 00086 #else 00087 # define _STLP_NATIVE_C_INCLUDE_PATH /usr/include 00088 # define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../CC/std 00089 #endif 00090 00091 #if ( __SUNPRO_CC < 0x500 ) 00092 00093 # undef _STLP_NATIVE_C_HEADER 00094 # undef _STLP_NATIVE_CPP_C_HEADER 00095 00096 # define wint_t __wint_t 00097 // famous CC 4.2 bug 00098 # define _STLP_INLINE_STRING_LITERAL_BUG 1 00099 // /usr/include 00100 # define _STLP_NATIVE_C_INCLUDE_PATH ../include 00101 00102 // 4.2 cannot handle iterator_traits<_Tp>::iterator_category as a return type ;( 00103 # define _STLP_USE_OLD_HP_ITERATOR_QUERIES 00104 00105 // 4.2 does not like it 00106 # undef _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 00107 00108 # define _STLP_LIMITED_DEFAULT_TEMPLATES 1 00109 00110 # define _STLP_NEED_TYPENAME 1 00111 # define _STLP_NEED_EXPLICIT 1 00112 # define _STLP_NO_BAD_ALLOC 1 00113 # define _STLP_NO_ARROW_OPERATOR 1 00114 00115 # define _STLP_DEF_CONST_PLCT_NEW_BUG 1 00116 # define _STLP_DEF_CONST_DEF_PARAM_BUG 1 00117 # define _STLP_GLOBAL_NESTED_RETURN_TYPE_PARAM_BUG 1 00118 # undef _STLP_HAS_NO_NEW_C_HEADERS 00119 # define _STLP_HAS_NO_NEW_C_HEADERS 1 00120 // # define _STLP_DONT_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS 00121 00122 # if ( __SUNPRO_CC < 0x420 ) 00123 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1 00124 # define _STLP_NO_NEW_STYLE_CASTS 1 00125 # define _STLP_NO_METHOD_SPECIALIZATION 1 00126 # if ( __SUNPRO_CC > 0x401 ) 00127 # if (__SUNPRO_CC==0x410) 00128 # define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1 00129 # endif 00130 # else 00131 // SUNPro C++ 4.0.1 00132 # define _STLP_BASE_MATCH_BUG 1 00133 # define _STLP_BASE_TYPEDEF_BUG 1 00134 # if (( __SUNPRO_CC < 0x401 ) && !defined(__SUNPRO_C)) 00135 __GIVE_UP_WITH_STL(SUNPRO_401) 00136 # endif 00137 # endif /* 4.0.1 */ 00138 # endif /* 4.2 */ 00139 #endif /* < 5.0 */ 00140 00141 #ifndef _MBSTATET_H 00142 # define _MBSTATET_H 00143 # undef _MBSTATE_T 00144 # define _MBSTATE_T 00145 typedef struct __mbstate_t { 00146 # if defined(_LP64) 00147 long __filler[4]; 00148 # else 00149 int __filler[6]; 00150 # endif 00151 } __mbstate_t; 00152 # ifndef _STLP_HAS_NO_NAMESPACES 00153 namespace std { 00154 typedef __mbstate_t mbstate_t; 00155 } 00156 using std::mbstate_t; 00157 # else 00158 typedef __mbstate_t mbstate_t; 00159 # endif 00160 #endif /* __MBSTATET_H */ 00161 00162 #if !defined(_STLP_HAS_NO_NEW_C_HEADERS) && !defined(_STLP_NO_NEW_C_HEADERS) 00163 /* Since Sun Studio uses <iso/stdlib_iso.h>, we are at its 00164 * mercy. GCC is built on top of <stdlib.h>. */ 00165 #define _STLP_NO_VENDOR_STDLIB_L 00166 #endif Generated on Sun May 27 2012 04:29:47 for ReactOS by
1.7.6.1
|