From 602b97277390aac9f9b5117f24b78efe55411ccc Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Wed, 7 Jun 2017 21:03:02 -0700 Subject: [PATCH] msvc: enable some default-off warnings --- Source/Core/DolphinQt2/DolphinQt2.vcxproj | 6 +++--- Source/VSProps/Base.props | 4 +--- Source/VSProps/QtCompile.props | 5 +++++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Source/Core/DolphinQt2/DolphinQt2.vcxproj b/Source/Core/DolphinQt2/DolphinQt2.vcxproj index 3df174a646..55e74a42cd 100644 --- a/Source/Core/DolphinQt2/DolphinQt2.vcxproj +++ b/Source/Core/DolphinQt2/DolphinQt2.vcxproj @@ -47,7 +47,7 @@ avrt.lib;iphlpapi.lib;winmm.lib;setupapi.lib;opengl32.lib;glu32.lib;rpcrt4.lib;comctl32.lib;avcodec.lib;avformat.lib;avutil.lib;swresample.lib;swscale.lib;%(AdditionalDependencies) - $(ProjectDir)\VideoInterface;$(ProjectDir)\GameList;$(ProjectDir)\Settings;$(ProjectDir)\Config;$(ProjectDir)\Config\Mapping;$(ProjectDir)\QtUtils;%(AdditionalIncludeDirectories) + $(ProjectDir)VideoInterface;$(ProjectDir)GameList;$(ProjectDir)Settings;$(ProjectDir)Config;$(ProjectDir)Config\Mapping;$(ProjectDir)QtUtils;%(AdditionalIncludeDirectories) DolphinQt2.manifest;%(AdditionalManifestFiles) @@ -213,10 +213,10 @@ {604C8368-F34A-4D55-82C8-CC92A0C13254} - + {0e033be3-2e08-428e-9ae9-bc673efa12b5} - + {29f29a19-f141-45ad-9679-5a2923b49da3} diff --git a/Source/VSProps/Base.props b/Source/VSProps/Base.props index 31336f3c07..300dbda26b 100644 --- a/Source/VSProps/Base.props +++ b/Source/VSProps/Base.props @@ -122,9 +122,7 @@ 4265 Class has virtual functions, but destructor is not virtual 4946 Reinterpret cast between related types --> - + /w44263 /w44265 /w44946 %(AdditionalOptions) diff --git a/Source/VSProps/QtCompile.props b/Source/VSProps/QtCompile.props index ac6c57a73f..63e414a148 100644 --- a/Source/VSProps/QtCompile.props +++ b/Source/VSProps/QtCompile.props @@ -27,6 +27,11 @@ $(QtIncludeDir)QtCore;%(AdditionalIncludeDirectories) $(QtIncludeDir)QtGui;%(AdditionalIncludeDirectories) $(QtIncludeDir)QtWidgets;%(AdditionalIncludeDirectories) + + %(AdditionalOptions) /wd4946 $(QtLibDir);%(AdditionalLibraryDirectories)