diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 11:24:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-10 11:24:50 +0200 |
commit | 33de34de425d2c34b88cdb6547b79b0ee18425ac (patch) | |
tree | 1cde88edf0ce36b8b7b27b49a5b5ce25b8045763 | |
parent | 591bcad6b05c1a835d4b721ecb143ff7ef5e7f34 (diff) |
Disable C4251 for all versions of VC++
-rw-r--r-- | odb/compilers/vc/pre.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/odb/compilers/vc/pre.hxx b/odb/compilers/vc/pre.hxx index df6e740..c815ff6 100644 --- a/odb/compilers/vc/pre.hxx +++ b/odb/compilers/vc/pre.hxx @@ -17,19 +17,14 @@ // 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:4290) // exception specification ignored //#pragma warning (disable:4275) // non dll-interface base //#pragma warning (disable:4224) // nonstandard extension (/Za option) -// VC++ 10.0 (2010) -// -#if (_MSC_VER == 1600) -# pragma warning (disable:4251) // needs to have DLL-interface -#endif - // Elevated warnings. // #pragma warning (2:4239) // standard doesn't allow this conversion |