diff options
Diffstat (limited to 'odb/pre.hxx')
-rw-r--r-- | odb/pre.hxx | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/odb/pre.hxx b/odb/pre.hxx index 2245c78..3206c7d 100644 --- a/odb/pre.hxx +++ b/odb/pre.hxx @@ -3,5 +3,22 @@ // license : GNU GPL v2; see accompanying LICENSE file #ifdef _MSC_VER -# include <odb/compilers/vc/pre.hxx> + // Push warning state. + // +# pragma warning (push, 3) + + // Disabled warnings. + // +# pragma warning (disable:4068) // unknown pragma +# pragma warning (disable:4251) // needs to have DLL-interface +# pragma warning (disable:4290) // exception specification ignored +# pragma warning (disable:4355) // passing 'this' to a member +# pragma warning (disable:4800) // forcing value to bool +# pragma warning (disable:4231) // non-standard extension (extern template) +# pragma warning (disable:4275) // "C4251 is essentially noise and can be + // silenced" - Stephan T. Lavavej [And C4275 + // is essentially the same thing.] + // Elevated warnings. + // +# pragma warning (2:4239) // standard doesn't allow this conversion #endif |