diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-17 07:15:29 +0200 |
commit | f0510d2f90467de8e8f260b47d79a9baaf9bef17 (patch) | |
tree | 0b9929946f06a9cbe9b9e8f2a7600dae4e048f79 /libxsd/xsd/cxx/compilers/vc-8 |
Start tracking XSD with git
Diffstat (limited to 'libxsd/xsd/cxx/compilers/vc-8')
-rw-r--r-- | libxsd/xsd/cxx/compilers/vc-8/post.hxx | 6 | ||||
-rw-r--r-- | libxsd/xsd/cxx/compilers/vc-8/pre.hxx | 28 |
2 files changed, 34 insertions, 0 deletions
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 |