genericopenlibs/cppstdlib/stl/stlport/stl/config/_prolog.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 11 Jun 2010 15:26:22 +0300
changeset 34 5fae379060a7
parent 31 ce057bb09d0b
child 45 4b03adbd26ca
permissions -rw-r--r--
Revision: 201023 Kit: 2010123


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

#  if !defined (_STLP_MSVC) || (_STLP_MSVC >= 1200)
#    pragma warning(push)
#  endif
#  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 (__HP_aCC)
/* _REENTRANT selects Posix 1c threads unless draft4 selected.
 *  * This usage is obsolescent, "-D_POSIX_C_SOURCE=199506" is preferred */
#  if 0 /* defined (_REENTRANT) && ! defined (_POSIX_C_SOURCE) */
#    define _POSIX_C_SOURCE 199506
#  endif
#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