summaryrefslogtreecommitdiffstats
path: root/stlport/stlport/stl/config/_prolog.h
blob: a16a794695e5ba780bc75e075e4c30166ff22697 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

#if defined (_STLP_MSVC) || defined (__ICL)

#  pragma warning (push)
#  include <stl/config/_warnings_off.h>
/* We are forcing the alignment to guaranty that libraries are use
 * with the same alignment as the one use to build them.
 */
#  if !defined (_WIN64)
#    pragma pack(push, 8)
#  else
#    pragma pack(push, 16)
#  endif

#elif defined (__BORLANDC__)

#  pragma option push
#  pragma option -Vx- -Ve- -a8 -b -pc
#  include <stl/config/_warnings_off.h>

#elif defined (__sgi) && !defined (__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)

#  pragma set woff 1209
#  pragma set woff 1174
#  pragma set woff 1375
/* from iterator_base.h */
#  pragma set woff 1183

#elif defined (__DECCXX)

#  ifdef __PRAGMA_ENVIRONMENT
#    pragma __environment __save
#    pragma __environment __header_defaults
#  endif

#elif defined (__IBMCPP__)
/* supress EDC3130: A constant is being used as a conditional expression */
#  pragma info(nocnd)
#elif defined (__WATCOMCPLUSPLUS__)
#  pragma warning 604 10 /* must lookahead to determine... */
#  pragma warning 594 10 /* resolved as declaration/type */
#  pragma warning 595 10 /* resolved as an expression */
#endif