]> git.tdb.fi Git - builder.git/blobdiff - plugins/msvc/msvccompiler.cpp
Disable some warnings related to dllexport on MSVC
[builder.git] / plugins / msvc / msvccompiler.cpp
index 2e6333527b457f3456e8e2b7a8e4bc7b33849226..e7ec3b7bbba2ba8f5afe128c4c54012126ced09b 100644 (file)
@@ -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