aboutsummaryrefslogtreecommitdiff
path: root/odb/compilers
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:49:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-08-30 15:49:05 +0200
commit547d1dd2da9c9b2b010da6d167ac88959342a634 (patch)
tree2d778c647f7bcd97fcd60660281f4d9b0a806735 /odb/compilers
parente927a6f2a3e3a72a18441fe9f603a336503f68e8 (diff)
Support for automake and VC++ builds
Diffstat (limited to 'odb/compilers')
-rw-r--r--odb/compilers/vc/pre.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/odb/compilers/vc/pre.hxx b/odb/compilers/vc/pre.hxx
index cdcb527..13a006b 100644
--- a/odb/compilers/vc/pre.hxx
+++ b/odb/compilers/vc/pre.hxx
@@ -19,10 +19,15 @@
#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:4251) // base needs to have dll-interface
//#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.
//