From: Marek Marczykowski-Górecki Date: Tue, 10 Jul 2018 14:44:32 +0000 (+0100) Subject: Disable warning about spectre mitigation X-Git-Tag: 9.0.0-rc1~21 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d809028df68318fa477bd9cf0004725d3ab94520;p=pvdrivers%2Fwin%2Fxeniface.git Disable warning about spectre mitigation CL emits a warning about every place that will get spectre mitigation when compiled with /Qspectre. Even if this option is already used. This breaks the build, as warnings are treated as errors in xeniface. Signed-off-by: Marek Marczykowski-Górecki Also disable warning for co-installer build. Signed-off-by: Paul Durrant --- diff --git a/vs2017/xeniface/xeniface.vcxproj b/vs2017/xeniface/xeniface.vcxproj index 69a4b09..5559183 100644 --- a/vs2017/xeniface/xeniface.vcxproj +++ b/vs2017/xeniface/xeniface.vcxproj @@ -24,7 +24,7 @@ __MODULE__="XENIFACE";POOL_NX_OPTIN=1;NT_PROCESSOR_GROUPS;%(PreprocessorDefinitions) true EnableAllWarnings - 4464;4711;4548;4770;4820;4668;4255;6001;6054;28160;30030;30029;%(DisableSpecificWarnings) + 4464;4711;4548;4770;4820;4668;4255;5045;6001;6054;28160;30030;30029;%(DisableSpecificWarnings) true true diff --git a/vs2017/xeniface_coinst/xeniface_coinst.vcxproj b/vs2017/xeniface_coinst/xeniface_coinst.vcxproj index 8ac4bc5..5b4a078 100644 --- a/vs2017/xeniface_coinst/xeniface_coinst.vcxproj +++ b/vs2017/xeniface_coinst/xeniface_coinst.vcxproj @@ -21,7 +21,7 @@ $(SolutionDir)..\include;%(AdditionalIncludeDirectories) __MODULE__="XENIFACE_COINST";%(PreprocessorDefinitions) EnableAllWarnings - 4127;4711;4548;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + 4127;4711;4548;4820;4668;4255;5045;6001;6054;28196;%(DisableSpecificWarnings) true true MultiThreadedDebug