aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odb/compilers/vc/pre.hxx9
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