aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-11-28 13:47:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-11-28 13:47:35 +0200
commitd5e7059d8741c3a402d76b14209531474421ffac (patch)
tree3e8668a2c76142fbc4fb8da465c5881c2c6ca35d
parente68f09c0e8c747474745f3438496e9352a199dbd (diff)
Add support for DLL exporting of generated code
New options: --export-symbol, --extern-symbol.
-rw-r--r--odb/compilers/vc/pre.hxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/odb/compilers/vc/pre.hxx b/odb/compilers/vc/pre.hxx
index f34c095..454e6b4 100644
--- a/odb/compilers/vc/pre.hxx
+++ b/odb/compilers/vc/pre.hxx
@@ -2,17 +2,10 @@
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v2; 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:4068) // unknown pragma
@@ -20,9 +13,7 @@
#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:4275) // non dll-interface base
-//#pragma warning (disable:4224) // nonstandard extension (/Za option)
+#pragma warning (disable:4231) // non-standard extension (extern template)
// Elevated warnings.
//