stl_hpacc.h

00001 // STLport configuration file
00002 // It is internal STLport header - DO NOT include it directly
00003 
00004 // system C-library dependent
00005 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
00006 # define _STLP_RAND48 1
00007 #endif
00008 // #  define _STLP_RAND48 1
00009 #  define _STLP_NO_NATIVE_MBSTATE_T      1
00010 #  define _STLP_HPACC_BROKEN_BUFEND       1
00011 #  define _STLP_WCHAR_HPACC_EXCLUDE      1
00012 
00013 // this was reported to help, just as with SUN CC 4.2
00014 # define _STLP_INLINE_STRING_LITERAL_BUG
00015 
00016 
00017 // specific prolog is needed to select correct threads impl
00018 #  define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
00019 
00020 // HP aCC with +noeh
00021 #  ifdef __HPACC_NOEH
00022 #   define _STLP_HAS_NO_EXCEPTIONS 1
00023 #  endif
00024 
00025 // HP compilers
00026 // At that point, we only know we are on HP (and _not_ using gcc,
00027 // according to "stlcomp.h"
00028 
00029 // __HP_aCC indicate HP ANSI C++, but not always (03.xx does not
00030 // define it before 3.13, for example).
00031 //
00032 #  if defined(__HP_aCC)
00033 
00034 #   define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../iostream
00035 #   define _STLP_LONG_LONG long long
00036 
00037 #if (__HP_aCC <= 30000 && __HP_aCC >= 12100)
00038 
00039 //Special kludge to workaround bug in aCC A.01.23, CR JAGac40634
00040 #ifdef _STLP_DEBUG
00041 static void _STLP_dummy_literal() { const char *p = "x";}
00042 static void _STLP_dummy_literal_2() { const char *p = "123456789"; }
00043 static void _STLP_dummy_literal_3() { const char *p = "123456700000000000000089";}
00044 #endif
00045 
00046 #     define _STLP_HP_ACC                   0123
00047 #     define _STLP_NATIVE_INCLUDE_PATH       ../include
00048 #     define _STLP_NATIVE_C_INCLUDE_PATH     ../include
00049 #     define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
00050 #     define _STLP_VENDOR_GLOBAL_STD         1
00051 #     define _STLP_VENDOR_GLOBAL_CSTD        1
00052 #     define _STLP_HAS_NO_NEW_IOSTREAMS      1
00053 #     define _STLP_DONT_THROW_RANGE_ERRORS   1
00054 #     define _STLP_STATIC_CONST_INIT_BUG 1
00055 #if (__HP_aCC  < 12700)
00056 //new flag: on most HP compilers cwchar is missing
00057 #     define _STLP_NO_CWCHAR
00058 #endif
00059 
00060 #     define _STLP_FORCE_ALLOCATORS(t,a) \
00061   typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
00062   typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
00063 
00064 #   endif /* 123 */
00065 
00066 // latest version and up
00067 #   if (__HP_aCC >= 32500 )
00068 #     define _STLP_HP_ACC                   0325
00069 
00070 #     define _STLP_FORCE_ALLOCATORS(t,a) \
00071   typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
00072   typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
00073 
00074 #    if defined(_HP_NAMESPACE_STD) // option -AA
00075 // from now, we have a full standard lib in namespace std
00076 #      define _STLP_NATIVE_INCLUDE_PATH       ../include
00077 #      define _STLP_NATIVE_C_INCLUDE_PATH     ../include
00078 #      define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
00079 // #      define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
00080 #     define _STLP_HP_ACC_COMPAT            -1
00081 #    else // option -Aa
00082 #     define _STLP_NATIVE_INCLUDE_PATH       ../include
00083 #     define _STLP_NATIVE_C_INCLUDE_PATH     ../include
00084 #     define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
00085 #     define _STLP_VENDOR_GLOBAL_STD         1
00086 #     define _STLP_VENDOR_GLOBAL_CSTD        1
00087 #     define _STLP_HAS_NO_NEW_IOSTREAMS      1
00088 // Add the following in _site_config.h if "-Wc,-koenig_lookup,on" not used
00089 //#     define _STLP_NO_KOENIG_LOOKUP          1
00090 #     define _STLP_DONT_THROW_RANGE_ERRORS   1
00091 #    endif /* _NAMESPACE_STD */
00092 #   endif
00093 
00094 #   if (__HP_aCC >= 31400 && __HP_aCC < 32500)
00095 #     define _STLP_HP_ACC                   0314
00096 
00097 # define _STLP_FORCE_ALLOCATORS(t,a) \
00098 typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
00099 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
00100 #     define _STLP_NO_CWCHAR
00101 #    if defined(_NAMESPACE_STD) // option -AA
00102 // from now, we have a full standard lib in namespace std
00103 #      define _STLP_NATIVE_INCLUDE_PATH       ../include_std
00104 #      define _STLP_NATIVE_C_INCLUDE_PATH     ../include_std
00105 #      define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include_std
00106 // #      define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
00107 #     define _STLP_HP_ACC_COMPAT            -1
00108 #    else // kind of compatibility mode
00109 #     define _STLP_NATIVE_INCLUDE_PATH       ../include
00110 #     define _STLP_NATIVE_C_INCLUDE_PATH     ../include
00111 #     define _STLP_NATIVE_CPP_C_INCLUDE_PATH ../include
00112 #     define _STLP_VENDOR_GLOBAL_STD         1
00113 #     define _STLP_VENDOR_GLOBAL_CSTD        1
00114 #     define _STLP_HAS_NO_NEW_IOSTREAMS      1
00115 // comment if  "-Wc,-koenig_lookup,on" id used
00116 #     define _STLP_NO_KOENIG_LOOKUP          1
00117 #     define _STLP_DONT_THROW_RANGE_ERRORS   1
00118 #     define _STLP_NO_ROPE                   1
00119 #    endif /* _NAMESPACE_STD */
00120 #   endif /* 314 */
00121 
00122 #  if ((__HP_aCC >= 30000 && __HP_aCC < 31400) || (__HP_aCC == 1)) // A.03.13: __HP_aCC == 1
00123 
00124 #if (__HP_aCC != 1)
00125 #   define _STLP_HAS_NO_NEW_C_HEADERS 1
00126 #endif
00127 
00128 #   define _STLP_HAS_NO_NEW_IOSTREAMS
00129 #   define _STLP_NO_QUALIFIED_FRIENDS       1
00130 // aCC bug ? need explicit args on constructors of partial specialized
00131 // classes
00132 #   define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 1
00133 // ?? fbp: really needed ?
00134 #   define _STLP_STATIC_ARRAY_BUG 1
00135 // ?? fbp : maybe present in some versions ?
00136 #   define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
00137 #   define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
00138 // <exception> and stuff is in global namespace
00139 #   define _STLP_VENDOR_GLOBAL_EXCEPT_STD
00140 // fbp : moved here
00141 #     define _STLP_VENDOR_GLOBAL_CSTD        1
00142 // #     define _INCLUDE_HPUX_SOURCE
00143 #   define _XPG4
00144 #   define _INCLUDE_XOPEN_SOURCE
00145 #   define _INCLUDE_AES_SOURCE
00146 #  endif /* < 314 */
00147 #   if __HP_aCC == 1
00148 #     define _STLP_BROKEN_USING_IN_CLASS
00149 #     define _STLP_USING_BASE_MEMBER
00150 #     define _STLP_NO_CWCHAR
00151 // #     define _STLP_NO_WCHAR_T 1
00152 #   endif
00153 # endif /* HP_ACC */
00154 
00155 // 
00156 # ifndef __HP_aCC
00157 #  define _STLP_NATIVE_INCLUDE_PATH ../CC
00158 #  define _STLP_NATIVE_C_INCLUDE_PATH ../include
00159 // it is HP's old cfront-based compiler.
00160 #  define _STLP_NO_BOOL 1
00161 // #  define _STLP_DONT_USE_BOOL_TYPEDEF 1
00162 #  define _STLP_NO_NEW_NEW_HEADER 1 
00163 #  define _STLP_HAS_NO_NEW_IOSTREAMS 1
00164 #  define _STLP_LIMITED_DEFAULT_TEMPLATES 1
00165 #  define _STLP_NO_SIGNED_BUILTINS
00166 #  define _STLP_HAS_NO_NAMESPACES 1
00167 #  define _STLP_NEED_TYPENAME 1
00168 #  define _STLP_NEED_EXPLICIT 1
00169 #  define _STLP_NO_EXCEPTION_SPEC 1
00170 #  define _STLP_NONTEMPL_BASE_MATCH_BUG 1
00171 #  define _STLP_NO_ARROW_OPERATOR 1
00172 #  define _STLP_BASE_MATCH_BUG
00173 #  define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
00174 #  define _STLP_NO_NEW_STYLE_CASTS 1
00175 // #  define _STLP_NO_WCHAR_T 1
00176 // #  define _STLP_LONG_LONG long long
00177 #  define _STLP_NEED_MUTABLE 1
00178 #  define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
00179 #  define _STLP_NO_BAD_ALLOC 1
00180 #  define _STLP_NO_MEMBER_TEMPLATES 1
00181 #  define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
00182 #  define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
00183 #  define _STLP_NO_FRIEND_TEMPLATES 1
00184 #  define _STLP_NO_QUALIFIED_FRIENDS 1
00185 #  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
00186 #  define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
00187 #  define _STLP_MEMBER_POINTER_PARAM_BUG 1
00188 #  define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
00189 #  define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
00190 // #  define _STLP_NO_METHOD_SPECIALIZATION 1
00191 #  define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
00192 #  define _STLP_NO_EXCEPTION_HEADER 1
00193 #  define _STLP_DEFAULT_CONSTRUCTOR_BUG 1
00194 #  define _STLP_HAS_NO_NEW_C_HEADERS 1
00195 // #  define _STLP_STATIC_CONST_INIT_BUG 1
00196 // #  define _STLP_THROW_RETURN_BUG 1
00197 // #  define _STLP_LINK_TIME_INSTANTIATION 1
00198 // #  define _STLP_NO_TEMPLATE_CONVERSIONS 1
00199 #  define _STLP_NO_TYPEINFO 1
00200 #  define _STLP_WCHAR_T_IS_USHORT 1
00201 
00202 # endif /* cfront */
00203 

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