X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=plugins%2Fmsvc%2Fmsvccompiler.cpp;h=e7ec3b7bbba2ba8f5afe128c4c54012126ced09b;hb=55f77a38bf5ce6572ff88477ab2fc06e482b8856;hp=2e6333527b457f3456e8e2b7a8e4bc7b33849226;hpb=353069077e5a35b5a7aa282fde939b1d1d7f68df;p=builder.git diff --git a/plugins/msvc/msvccompiler.cpp b/plugins/msvc/msvccompiler.cpp index 2e63335..e7ec3b7 100644 --- a/plugins/msvc/msvccompiler.cpp +++ b/plugins/msvc/msvccompiler.cpp @@ -123,6 +123,8 @@ ExternalTask::Arguments MsvcCompiler::_run(const ObjectFile &object, FS::Path &w argv.push_back("/permissive-"); argv.push_back("/wd4068"); // Unknown pragma + argv.push_back("/wd4251"); // Dll-interface required on type of member variable + argv.push_back("/wd4275"); // Dll-interface class derives from non-dll-interface class if(binfo.warning_level<4) { argv.push_back("/wd4244"); // Narrowing conversion on arg or return