]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - include/c++/stl/stl/config/_prolog.h
Add STLport 5.1.4
[polintos/scott/priv.git] / include / c++ / stl / stl / config / _prolog.h
diff --git a/include/c++/stl/stl/config/_prolog.h b/include/c++/stl/stl/config/_prolog.h
new file mode 100644 (file)
index 0000000..5ad943f
--- /dev/null
@@ -0,0 +1,52 @@
+
+#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