From d5e7059d8741c3a402d76b14209531474421ffac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 28 Nov 2012 13:47:35 +0200 Subject: Add support for DLL exporting of generated code New options: --export-symbol, --extern-symbol. --- odb/compilers/vc/pre.hxx | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'odb') 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. // -- cgit v1.1