1 // STLport configuration file
2 // It is internal STLport header - DO NOT include it directly
4 #define _STLP_COMPILER "Acc"
6 // system C-library dependent
7 #if defined(_XOPEN_SOURCE) && (_XOPEN_VERSION - 0 >= 4)
8 # define _STLP_RAND48 1
10 // # define _STLP_RAND48 1
11 #define _STLP_NO_NATIVE_MBSTATE_T 1
12 #define _STLP_HPACC_BROKEN_BUFEND 1
13 #define _STLP_WCHAR_HPACC_EXCLUDE 1
15 // this was reported to help, just as with SUN CC 4.2
16 #define _STLP_INLINE_STRING_LITERAL_BUG
18 // specific prolog is needed to select correct threads impl
19 #define _STLP_HAS_SPECIFIC_PROLOG_EPILOG
23 # define _STLP_HAS_NO_EXCEPTIONS 1
27 // At that point, we only know we are on HP (and _not_ using gcc,
28 // according to "stlcomp.h"
30 // __HP_aCC indicate HP ANSI C++, but not always (03.xx does not
31 // define it before 3.13, for example).
33 #if defined (__HP_aCC)
35 # define _STLP_NO_FORCE_INSTANTIATE
36 # define _STLP_LONG_LONG long long
37 # define _STLP_NO_VENDOR_STDLIB_L
39 # if (__HP_aCC <= 30000 && __HP_aCC >= 12100)
41 //Special kludge to workaround bug in aCC A.01.23, CR JAGac40634
43 static void _STLP_dummy_literal() { const char *p = "x";}
44 static void _STLP_dummy_literal_2() { const char *p = "123456789"; }
45 static void _STLP_dummy_literal_3() { const char *p = "123456700000000000000089";}
48 # define _STLP_HP_ACC 0123
49 # define _STLP_NATIVE_INCLUDE_PATH ../include
50 # define _STLP_VENDOR_GLOBAL_STD 1
51 # define _STLP_VENDOR_GLOBAL_CSTD 1
52 # define _STLP_DONT_THROW_RANGE_ERRORS 1
53 # define _STLP_STATIC_CONST_INIT_BUG 1
54 # if (__HP_aCC < 12700)
55 //new flag: on most HP compilers cwchar is missing
56 # define _STLP_NO_CWCHAR
59 # define _STLP_FORCE_ALLOCATORS(t,a) \
60 typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
61 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
65 // latest version and up
66 # if (__HP_aCC >= 32500 )
67 # define _STLP_HP_ACC 0325
69 # define _STLP_USE_NEW_C_HEADERS
71 # define _STLP_FORCE_ALLOCATORS(t,a) \
72 typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
73 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
75 # if !defined ( _INCLUDE__STDC_A1_SOURCE ) // HP-UX 11i only
76 # define _STLP_HAS_NO_UNIX98_WCHAR_EXTENSIONS
79 # if defined (_HP_NAMESPACE_STD) // option -AA
80 // from now, we have a full standard lib in namespace std
82 // -AA indicates that we are compiling against Rogue Wave 2.2.1
83 // STL shipped with the HP aCC compiler. -AA tells the compiler
84 // to use the STL defined in the include_std directory.
86 # define _STLP_NATIVE_INCLUDE_PATH ../include_std
88 // # define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
89 # define _STLP_HP_ACC_COMPAT -1
91 # define _STLP_NATIVE_INCLUDE_PATH ../include
92 # define _STLP_VENDOR_GLOBAL_STD 1
93 # define _STLP_VENDOR_GLOBAL_CSTD 1
94 # define _STLP_DONT_THROW_RANGE_ERRORS 1
95 # endif /* _NAMESPACE_STD */
98 # if (__HP_aCC >= 31400 && __HP_aCC < 32500)
99 # define _STLP_HP_ACC 0314
101 # define _STLP_FORCE_ALLOCATORS(t,a) \
102 typedef typename _Alloc_traits<t,a>::_Orig _STLP_dummy_type1;\
103 typedef typename _STLP_dummy_type1:: _STLP_TEMPLATE rebind<t>::other _STLP_dummy_type2;
104 # define _STLP_NO_CWCHAR
105 # if defined (_NAMESPACE_STD) // option -AA
106 // from now, we have a full standard lib in namespace std
107 # define _STLP_NATIVE_INCLUDE_PATH ../include_std
108 //# define _STLP_HPACC_ONLY_NATIVE_STRING 1 // STLPort _string.c includes <locale>
109 # define _STLP_HP_ACC_COMPAT -1
110 # else // kind of compatibility mode
111 # define _STLP_NATIVE_INCLUDE_PATH ../include
112 # define _STLP_VENDOR_GLOBAL_STD 1
113 # define _STLP_VENDOR_GLOBAL_CSTD 1
114 # define _STLP_DONT_THROW_RANGE_ERRORS 1
115 # define _STLP_NO_ROPE 1
116 # endif /* _NAMESPACE_STD */
119 # if ((__HP_aCC >= 30000 && __HP_aCC < 31400) || (__HP_aCC == 1)) // A.03.13: __HP_aCC == 1
122 # define _STLP_HAS_NO_NEW_C_HEADERS 1
125 # define _STLP_NO_QUALIFIED_FRIENDS 1
126 // aCC bug ? need explicit args on constructors of partial specialized
128 # define _STLP_PARTIAL_SPEC_NEEDS_TEMPLATE_ARGS 1
129 // ?? fbp : maybe present in some versions ?
130 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
131 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
132 // <exception> and stuff is in global namespace
133 # define _STLP_VENDOR_GLOBAL_EXCEPT_STD
135 # define _STLP_VENDOR_GLOBAL_CSTD 1
136 // # define _INCLUDE_HPUX_SOURCE
138 # define _INCLUDE_XOPEN_SOURCE
139 # define _INCLUDE_AES_SOURCE
142 # define _STLP_BROKEN_USING_IN_CLASS
143 # define _STLP_USING_BASE_MEMBER
144 # define _STLP_NO_CWCHAR
145 // # define _STLP_NO_WCHAR_T 1
151 # define _STLP_NATIVE_INCLUDE_PATH ../CC
152 # define _STLP_NATIVE_C_INCLUDE_PATH ../include
153 // it is HP's old cfront-based compiler.
154 # define _STLP_NO_BOOL 1
155 // # define _STLP_DONT_USE_BOOL_TYPEDEF 1
156 # define _STLP_NO_NEW_NEW_HEADER 1
157 # define _STLP_LIMITED_DEFAULT_TEMPLATES 1
158 # define _STLP_NO_SIGNED_BUILTINS
159 # define _STLP_HAS_NO_NAMESPACES 1
160 # define _STLP_NEED_TYPENAME 1
161 # define _STLP_NEED_EXPLICIT 1
162 # define _STLP_NO_EXCEPTION_SPEC 1
163 # define _STLP_NONTEMPL_BASE_MATCH_BUG 1
164 # define _STLP_NO_ARROW_OPERATOR 1
165 # define _STLP_BASE_MATCH_BUG
166 # define _STLP_BASE_TYPEDEF_OUTSIDE_BUG 1
167 # define _STLP_NO_NEW_STYLE_CASTS 1
168 // # define _STLP_NO_WCHAR_T 1
169 // # define _STLP_LONG_LONG long long
170 # define _STLP_NEED_MUTABLE 1
171 # define _STLP_NO_PARTIAL_SPECIALIZATION_SYNTAX 1
172 # define _STLP_NO_BAD_ALLOC 1
173 # define _STLP_NO_MEMBER_TEMPLATES 1
174 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
175 # define _STLP_NO_MEMBER_TEMPLATE_KEYWORD 1
176 # define _STLP_NO_FRIEND_TEMPLATES 1
177 # define _STLP_NO_QUALIFIED_FRIENDS 1
178 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
179 # define _STLP_NO_FUNCTION_TMPL_PARTIAL_ORDER 1
180 # define _STLP_MEMBER_POINTER_PARAM_BUG 1
181 # define _STLP_NON_TYPE_TMPL_PARAM_BUG 1
182 # define _STLP_NO_DEFAULT_NON_TYPE_PARAM 1
183 // # define _STLP_NO_METHOD_SPECIALIZATION 1
184 # define _STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS 1
185 # define _STLP_NO_EXCEPTION_HEADER 1
186 # define _STLP_DEF_CONST_PLCT_NEW_BUG 1
187 # define _STLP_DEF_CONST_DEF_PARAM_BUG 1
188 # define _STLP_HAS_NO_NEW_C_HEADERS 1
189 // # define _STLP_STATIC_CONST_INIT_BUG 1
190 // # define _STLP_THROW_RETURN_BUG 1
191 // # define _STLP_LINK_TIME_INSTANTIATION 1
192 // # define _STLP_NO_TEMPLATE_CONVERSIONS 1
193 # define _STLP_NO_TYPEINFO 1
194 # define _STLP_WCHAR_T_IS_USHORT 1