summaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/compilers
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-17 07:15:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-17 07:15:29 +0200
commitf0510d2f90467de8e8f260b47d79a9baaf9bef17 (patch)
tree0b9929946f06a9cbe9b9e8f2a7600dae4e048f79 /libxsd/xsd/cxx/compilers
Start tracking XSD with git
Diffstat (limited to 'libxsd/xsd/cxx/compilers')
-rw-r--r--libxsd/xsd/cxx/compilers/vc-7/post.hxx6
-rw-r--r--libxsd/xsd/cxx/compilers/vc-7/pre.hxx36
-rw-r--r--libxsd/xsd/cxx/compilers/vc-8/post.hxx6
-rw-r--r--libxsd/xsd/cxx/compilers/vc-8/pre.hxx28
4 files changed, 76 insertions, 0 deletions
diff --git a/libxsd/xsd/cxx/compilers/vc-7/post.hxx b/libxsd/xsd/cxx/compilers/vc-7/post.hxx
new file mode 100644
index 0000000..13efa6a
--- /dev/null
+++ b/libxsd/xsd/cxx/compilers/vc-7/post.hxx
@@ -0,0 +1,6 @@
+// file : xsd/cxx/compilers/vc-7/post.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#pragma warning (pop)
diff --git a/libxsd/xsd/cxx/compilers/vc-7/pre.hxx b/libxsd/xsd/cxx/compilers/vc-7/pre.hxx
new file mode 100644
index 0000000..1d431a7
--- /dev/null
+++ b/libxsd/xsd/cxx/compilers/vc-7/pre.hxx
@@ -0,0 +1,36 @@
+// file : xsd/cxx/compilers/vc-7/pre.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+
+#if (_MSC_VER < 1310)
+# error Microsoft Visual C++ 7.0 (.NET 2002) is not supported.
+#endif
+
+
+// These warnings had to be disabled "for good".
+//
+#pragma warning (disable:4250) // inherits via dominance
+#pragma warning (disable:4505) // unreferenced local function has been removed
+#pragma warning (disable:4661) // no definition for explicit instantiation
+
+
+// Push warning state.
+//
+#pragma warning (push, 3)
+
+
+// Disabled warnings.
+//
+#pragma warning (disable:4355) // passing 'this' to a member
+#pragma warning (disable:4584) // is already a base-class
+#pragma warning (disable:4800) // forcing value to bool
+#pragma warning (disable:4275) // non dll-interface base
+#pragma warning (disable:4251) // base needs to have dll-interface
+#pragma warning (disable:4224) // nonstandard extension (/Za option)
+
+
+// Elevated warnings.
+//
+#pragma warning (2:4239) // standard doesn't allow this conversion
diff --git a/libxsd/xsd/cxx/compilers/vc-8/post.hxx b/libxsd/xsd/cxx/compilers/vc-8/post.hxx
new file mode 100644
index 0000000..6a4328f
--- /dev/null
+++ b/libxsd/xsd/cxx/compilers/vc-8/post.hxx
@@ -0,0 +1,6 @@
+// file : xsd/cxx/compilers/vc-8/post.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+#pragma warning (pop)
diff --git a/libxsd/xsd/cxx/compilers/vc-8/pre.hxx b/libxsd/xsd/cxx/compilers/vc-8/pre.hxx
new file mode 100644
index 0000000..bd7c890
--- /dev/null
+++ b/libxsd/xsd/cxx/compilers/vc-8/pre.hxx
@@ -0,0 +1,28 @@
+// file : xsd/cxx/compilers/vc-8/pre.hxx
+// author : Boris Kolpackov <boris@codesynthesis.com>
+// copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC
+// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+// These warnings had to be disabled "for good".
+//
+#pragma warning (disable:4250) // inherits via dominance
+#pragma warning (disable:4661) // no definition for explicit instantiation
+
+
+// Push warning state.
+//
+#pragma warning (push, 3)
+
+
+// Disabled warnings.
+//
+#pragma warning (disable:4355) // passing 'this' to a member
+#pragma warning (disable:4800) // forcing value to bool
+#pragma warning (disable:4275) // non dll-interface base
+#pragma warning (disable:4251) // base needs to have dll-interface
+#pragma warning (disable:4224) // nonstandard extension (/Za option)
+
+
+// Elevated warnings.
+//
+#pragma warning (2:4239) // standard doesn't allow this conversion