31
|
1 |
|
|
2 |
#if defined (_STLP_MSVC) || defined (__ICL)
|
|
3 |
|
|
4 |
# if !defined (_STLP_MSVC) || (_STLP_MSVC >= 1200)
|
|
5 |
# pragma warning(push)
|
|
6 |
# endif
|
|
7 |
# include <stl/config/_warnings_off.h>
|
|
8 |
/* We are forcing the alignment to guaranty that libraries are use
|
|
9 |
* with the same alignment as the one use to build them.
|
|
10 |
*/
|
|
11 |
# if !defined (_WIN64)
|
|
12 |
# pragma pack(push, 8)
|
|
13 |
# else
|
|
14 |
# pragma pack(push, 16)
|
|
15 |
# endif
|
|
16 |
|
|
17 |
#elif defined (__BORLANDC__)
|
|
18 |
|
|
19 |
# pragma option push
|
|
20 |
# pragma option -Vx- -Ve- -a8 -b -pc
|
|
21 |
# include <stl/config/_warnings_off.h>
|
|
22 |
|
|
23 |
#elif defined (__sgi) && !defined (__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
|
|
24 |
|
|
25 |
# pragma set woff 1209
|
|
26 |
# pragma set woff 1174
|
|
27 |
# pragma set woff 1375
|
|
28 |
/* from iterator_base.h */
|
|
29 |
# pragma set woff 1183
|
|
30 |
|
|
31 |
#elif defined (__DECCXX)
|
|
32 |
|
|
33 |
# ifdef __PRAGMA_ENVIRONMENT
|
|
34 |
# pragma __environment __save
|
|
35 |
# pragma __environment __header_defaults
|
|
36 |
# endif
|
|
37 |
|
|
38 |
#elif defined (__IBMCPP__)
|
|
39 |
/* supress EDC3130: A constant is being used as a conditional expression */
|
|
40 |
# pragma info(nocnd)
|
|
41 |
|
|
42 |
#elif defined (__HP_aCC)
|
|
43 |
/* _REENTRANT selects Posix 1c threads unless draft4 selected.
|
|
44 |
* * This usage is obsolescent, "-D_POSIX_C_SOURCE=199506" is preferred */
|
|
45 |
# if 0 /* defined (_REENTRANT) && ! defined (_POSIX_C_SOURCE) */
|
|
46 |
# define _POSIX_C_SOURCE 199506
|
|
47 |
# endif
|
|
48 |
#elif defined (__WATCOMCPLUSPLUS__)
|
|
49 |
# pragma warning 604 10 /* must lookahead to determine... */
|
|
50 |
# pragma warning 594 10 /* resolved as declaration/type */
|
|
51 |
# pragma warning 595 10 /* resolved as an expression */
|
|
52 |
#endif
|