00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043 #ifndef STLSOFT_INCL_STLSOFT_H_STLSOFT
00044 # error This file must not be included independently of stlsoft/stlsoft.h
00045 #endif
00046
00053 #ifdef STLSOFT_INCL_H_STLSOFT_CCCAP_GCC
00054 # error This file cannot be included more than once in any compilation unit
00055 #endif
00056
00057
00058
00059 #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
00060 # define STLSOFT_VER_H_STLSOFT_CCCAP_GCC_MAJOR 3
00061 # define STLSOFT_VER_H_STLSOFT_CCCAP_GCC_MINOR 19
00062 # define STLSOFT_VER_H_STLSOFT_CCCAP_GCC_REVISION 2
00063 # define STLSOFT_VER_H_STLSOFT_CCCAP_GCC_EDIT 83
00064 #endif
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110 #if __GNUC__ > 3 || \
00111 ( __GNUC__ == 3 && \
00112 __GNUC_MINOR__ >= 4)
00113 # define STLSOFT_PPF_pragma_once_SUPPORT
00114 #endif
00115
00116 #if __GNUC__ > 4 || \
00117 ( __GNUC__ == 4 && \
00118 __GNUC_MINOR__ >= 3)
00119 # define STLSOFT_PPF_COUNTER_SYMBOL_SUPPORT
00120 #endif
00121
00122 #if __GNUC__ >= 3
00123 # define STLSOFT_PPF_FUNCTION_SYMBOL_SUPPORT
00124 #endif
00125
00126 #if __GNUC__ > 3 || \
00127 ( __GNUC__ == 3 && \
00128 __GNUC_MINOR__ >= 4)
00129 # define STLSOFT_PPF_VARIADIC_MACROS_SUPPORT
00130 #endif
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145 #ifdef __cplusplus
00146 # define STLSOFT_CF_BUILTIN_bool_SUPPORT
00147 #endif
00148
00149 #if __GNUC__ > 3 || \
00150 ( __GNUC__ == 3 && \
00151 __GNUC_MINOR__ >= 2)
00152 # define STLSOFT_CF_BUILTIN_wchar_t_SUPPORT
00153 #endif
00154
00155 #define STLSOFT_CF_BUILTIN_long_long_SUPPORT
00156
00157 #define STLSOFT_CF_BUILTIN___int8_SUPPORT
00158
00159 #define STLSOFT_CF_BUILTIN___int16_SUPPORT
00160
00161 #define STLSOFT_CF_BUILTIN___int32_SUPPORT
00162
00163 #define STLSOFT_CF_BUILTIN___int64_SUPPORT
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174 #ifdef __CHAR_UNSIGNED__
00175 # define STLSOFT_CF_char_IS_UNSIGNED
00176 #endif
00177
00178 #ifdef STLSOFT_CF_BUILTIN_wchar_t_SUPPORT
00179 # define STLSOFT_CF_NATIVE_WCHAR_T_SUPPORT
00180 #endif
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191 #define STLSOFT_CF_return_void_SUPPORT
00192
00193 #define STLSOFT_CF_STATIC_ASSERT_SUPPORT
00194
00195 #define STLSOFT_CF_ANONYMOUS_UNION_SUPPORT
00196
00197 #define STLSOFT_CF_NEGATIVE_MODULUS_POSITIVE_GIVES_NEGATIVE_RESULT
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207 #if __GNUC__ >= 4
00208 # define STLSOFT_CF_C99_INLINE
00209 #else
00210 # define STLSOFT_CUSTOM_C_INLINE __inline__
00211 #endif
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241
00242
00243
00244
00245 #ifdef __cplusplus
00246 # define STLSOFT_CF_EXCEPTION_SUPPORT
00247 # define STLSOFT_CF_EXCEPTION_SIGNATURE_SUPPORT
00248 # define STLSOFT_CF_THROW_BAD_ALLOC
00249 #endif
00250
00251 #ifdef __cplusplus
00252 # define STLSOFT_CF_RTTI_SUPPORT
00253 #endif
00254
00255 #ifdef __cplusplus
00256 # define STLSOFT_CF_NAMESPACE_SUPPORT
00257 #endif
00258
00259
00260
00261 #define STLSOFT_CF_MEMBER_CONSTANT_SUPPORT
00262
00263 #define STLSOFT_CF_EXPLICIT_KEYWORD_SUPPORT
00264
00265 #define STLSOFT_CF_MUTABLE_KEYWORD_SUPPORT
00266
00267 #if __GNUC__ > 3 || \
00268 ( __GNUC__ == 3 && \
00269 __GNUC_MINOR__ >= 4)
00270 # define STLSOFT_CF_TEMPLATE_QUALIFIER_KEYWORD_SUPPORT
00271 #endif
00272
00273 #define STLSOFT_CF_TYPENAME_PARAM_KEYWORD_SUPPORT
00274
00275 #define STLSOFT_CF_TYPENAME_TYPE_KEYWORD_SUPPORT
00276
00277 #define STLSOFT_CF_TYPENAME_TYPE_DEF_KEYWORD_SUPPORT
00278
00279
00280
00281 #define STLSOFT_CF_TYPENAME_TYPE_RET_KEYWORD_SUPPORT
00282
00283 #define STLSOFT_CF_ADL_SUPPORT
00284
00285 #if __GNUC__ >= 3
00286 # define STLSOFT_CF_STATIC_ARRAY_SIZE_DETERMINATION_SUPPORT
00287 #endif
00288
00289
00290
00291 #define STLSOFT_CF_OPERATOR_BOOL_AS_OPERATOR_POINTER_TO_MEMBER_SUPPORT
00292 #define STLSOFT_CF_OPERATOR_NOT_VIA_OPERATOR_POINTER_TO_MEMBER_SUPPORT
00293
00294
00295
00296
00297
00298
00299
00300
00301
00302
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321 #define STLSOFT_CF_TEMPLATE_SUPPORT
00322
00323 #define STLSOFT_CF_TEMPLATE_SPECIALISATION_SYNTAX_SUPPORT
00324
00325 #define STLSOFT_CF_TEMPLATE_PARTIAL_SPECIALISATION_SUPPORT
00326
00327 #define STLSOFT_CF_TEMPLATE_FUNCTION_TEMPLATE_SUPPORT
00328
00329 #define STLSOFT_CF_TEMPLATE_CLASS_TEMPLATE_SUPPORT
00330
00331 #define STLSOFT_CF_TEMPLATE_MEMBER_CLASS_TEMPLATE_SUPPORT
00332
00333 #define STLSOFT_CF_TEMPLATE_MEMBER_FUNCTION_TEMPLATE_SUPPORT
00334
00335 #if __GNUC__ >= 3
00336 # define STLSOFT_CF_TEMPLATE_MEMBER_RANGE_FUNCTION_TEMPLATE_SUPPORT
00337 #endif
00338
00339 #define STLSOFT_CF_TEMPLATE_CTOR_TEMPLATE_SUPPORT
00340
00341 #define STLSOFT_CF_TEMPLATE_TEMPLATE_SUPPORT
00342
00343 #define STLSOFT_CF_TEMPLATE_FUNDAMENTAL_PARAMETER_SUPPORT
00344
00345 #define STLSOFT_CF_TEMPLATE_TYPE_PARAMETER_SUPPORT
00346
00347
00348
00349 #define STLSOFT_CF_TEMPLATE_DEFAULT_FUNDAMENTAL_PARAMETER_SUPPORT
00350
00351 #define STLSOFT_CF_TEMPLATE_DEFAULT_TYPE_PARAMETER_SUPPORT
00352
00353
00354
00355 #define STLSOFT_CF_TEMPLATE_MEMBER_FUNCTION_TEMPLATE_OVERLOAD_DISCRIMINATED_AGAINST_NON_TEMPLATE_MEMBER_FUNCTION
00356
00357 #if __GNUC__ >= 3
00358 # define STLSOFT_CF_TEMPLATE_CONSTRUCTOR_TEMPLATE_OVERLOAD_DISCRIMINATED_AGAINST_NON_TEMPLATE_CONSTRUCTOR
00359 #endif
00360
00361
00362
00363
00364
00365
00366
00367
00368
00369
00370
00371
00372
00373
00374 #define STLSOFT_CF_CDECL_SUPPORTED
00375
00376 #if defined(WIN32)
00377
00378 # define STLSOFT_CF_THISCALL_SUPPORTED
00379
00380 # ifdef STLSOFT_CF_CDECL_SUPPORTED
00381 # define STLSOFT_CDECL __cdecl
00382 # endif
00383
00384 # if __GNUC__ > 2
00385 # define STLSOFT_CF_FASTCALL_SUPPORTED
00386 # define STLSOFT_FASTCALL __fastcall
00387 # endif
00388
00389 # define STLSOFT_CF_STDCALL_SUPPORTED
00390 # define STLSOFT_STDCALL __stdcall
00391
00392
00393 # if ( __GNUC__ < 3 || \
00394 ( __GNUC__ == 3 && \
00395 __GNUC_MINOR__ < 4))
00396 # define STLSOFT_CF_CALLING_CONVENTION_OUTSIDE_BRACE_REQUIRED
00397 # endif
00398
00399 #else
00400
00401 # ifdef STLSOFT_CF_CDECL_SUPPORTED
00402 # define STLSOFT_CDECL
00403 # endif
00404
00405 #endif
00406
00407
00408
00409
00410
00411 #define _STLSOFT_SIZEOF_CHAR (1)
00412
00413 #if defined(__ILP64__) || \
00414 defined(_ILP64)
00415 # error Currently the STLSoft libraries are not compatible with the ILP64 memory model
00416 #elif defined(__LP64__) || \
00417 defined(_LP64)
00418
00419 # define _STLSOFT_SIZEOF_SHORT (2)
00420 # define _STLSOFT_SIZEOF_INT (4)
00421 # define _STLSOFT_SIZEOF_LONG (8)
00422 # define _STLSOFT_SIZEOF_LONG_LONG (8)
00423 #elif defined(__LLP64__) || \
00424 defined(_WIN32) || \
00425 defined(_WIN64) || \
00426 defined(__i386__) || \
00427 defined(__i386) || \
00428 defined(__POWERPC__) || \
00429 defined(__ppc) || \
00430 defined(__ppc__) || \
00431 defined(_ARCH_PPC) || \
00432 defined(__PPC__) || \
00433 defined(__powerpc__)
00434
00435 # define _STLSOFT_SIZEOF_SHORT (2)
00436 # define _STLSOFT_SIZEOF_INT (4)
00437 # define _STLSOFT_SIZEOF_LONG (4)
00438 # define _STLSOFT_SIZEOF_LONG_LONG (8)
00439 #else
00440 # error Use of GCC has not been verified with any memory model other than LP64 and LLP64. Please contact Synesis Software
00441 #endif
00442
00443
00444
00445
00446
00447
00448
00449
00450
00451
00452
00453
00454
00455
00456
00457
00458
00459
00460
00461
00462
00463
00464
00465
00466 #define STLSOFT_CF_8BIT_INT_SUPPORT
00467 #define STLSOFT_SI08_T_BASE_TYPE signed char
00468 #define STLSOFT_UI08_T_BASE_TYPE unsigned char
00469
00470
00471 #define STLSOFT_CF_16BIT_INT_SUPPORT
00472 #define STLSOFT_SI16_T_BASE_TYPE signed short
00473 #define STLSOFT_UI16_T_BASE_TYPE unsigned short
00474
00475
00476 #define STLSOFT_CF_32BIT_INT_SUPPORT
00477 #define STLSOFT_SI32_T_BASE_TYPE signed int
00478 #define STLSOFT_UI32_T_BASE_TYPE unsigned int
00479 #define STLSOFT_CF_LONG_DISTINCT_INT_TYPE
00480
00481
00482 #define STLSOFT_CF_64BIT_INT_SUPPORT
00483 #define STLSOFT_CF_64BIT_INT_IS_long_long
00484 #define STLSOFT_SI64_T_BASE_TYPE signed long long
00485 #define STLSOFT_UI64_T_BASE_TYPE unsigned long long
00486
00487
00488
00489
00490
00491
00492
00493
00494
00495
00496
00497
00498
00499
00500
00501
00502 #define STLSOFT_CF_FUNCTION_SIGNATURE_FULL_ARG_QUALIFICATION_REQUIRED
00503
00504
00505
00506
00507
00508 #define STLSOFT_CF_TEMPLATE_OUTOFCLASSFN_QUALIFIED_TYPE_SUPPORT
00509
00510 #define STLSOFT_CF_std_NAMESPACE
00511
00512 #if __GNUC__ >= 3
00513 # define STLSOFT_CF_std_char_traits_AVAILABLE
00514 #endif
00515
00516 #define STLSOFT_CF_PARENT_TYPES_CAN_BE_USED_IN_NON_TEMPLATE
00517
00518 #define STLSOFT_CF_PARENT_TYPES_CAN_BE_USED_IN_TEMPLATE
00519
00520 #if __GNUC__ >= 3
00521 # define STLSOFT_CF_VENEER_SUPPORT
00522 #endif
00523
00524 #define STLSOFT_CF_ALLOCATOR_BASE_EXPENSIVE
00525
00526 #define STLSOFT_CF_COMPILER_WARNS_NO_PUBLIC_DTOR
00527
00528
00529
00530
00531
00532
00533
00534
00535
00536 #if defined(_STLSOFT_CUSTOM_ASSERT)
00537
00538
00539
00540
00541
00542
00543
00544
00545
00546
00547
00548
00549
00550
00551
00552
00553
00554
00555
00556
00557
00558
00559 # define __STLSOFT_CF_ASSERT_SUPPORT
00560 # define STLSOFT_CF_ASSERT_SUPPORT
00561 # define STLSOFT_ASSERT(_x) _STLSOFT_CUSTOM_ASSERT(_x)
00562 # if defined(_STLSOFT_CUSTOM_ASSERT_INCLUDE)
00563 # define __STLSOFT_CF_ASSERT_INCLUDE_NAME _STLSOFT_CUSTOM_ASSERT_INCLUDE
00564 # else
00565 # error You must define _STLSOFT_CUSTOM_ASSERT_INCLUDE along with _STLSOFT_CUSTOM_ASSERT()
00566 # endif
00567 #else
00568 # define __STLSOFT_CF_ASSERT_SUPPORT
00569 # define STLSOFT_CF_ASSERT_SUPPORT
00570
00571 # define __STLSOFT_CF_ASSERT_INCLUDE_NAME <assert.h>
00572 # define STLSOFT_ASSERT(_x) assert(_x)
00573 #endif
00574
00575
00576
00577
00578
00579
00580
00581
00582
00583 #include <stlsoft/internal/cccap/obsolete.h>
00584
00585