From f0510d2f90467de8e8f260b47d79a9baaf9bef17 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2009 07:15:29 +0200 Subject: Start tracking XSD with git --- libxsd/xsd/cxx/compilers/vc-8/post.hxx | 6 ++++++ libxsd/xsd/cxx/compilers/vc-8/pre.hxx | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 libxsd/xsd/cxx/compilers/vc-8/post.hxx create mode 100644 libxsd/xsd/cxx/compilers/vc-8/pre.hxx (limited to 'libxsd/xsd/cxx/compilers/vc-8') 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 +// 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 +// 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 -- cgit v1.1