From: Marek Marczykowski-Górecki Date: Tue, 10 Jul 2018 13:23:20 +0000 (+0100) Subject: Disable warning about spectre mitigation X-Git-Tag: 9.0.0-rc1~32 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=a0ecf3da2ccd21938aaf4ce5e420ffb70225b99b;p=pvdrivers%2Fwin%2Fxenvif.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 if warnings are treated as errors. Signed-off-by: Marek Marczykowski-Górecki Also disable the same warning in the co-installer build. Signed-off-by: Paul Durrant --- diff --git a/vs2017/xenvif/xenvif.vcxproj b/vs2017/xenvif/xenvif.vcxproj index 1ce7438..fbbcce7 100644 --- a/vs2017/xenvif/xenvif.vcxproj +++ b/vs2017/xenvif/xenvif.vcxproj @@ -24,7 +24,7 @@ __MODULE__="XENVIF";POOL_NX_OPTIN=1;NT_PROCESSOR_GROUPS;%(PreprocessorDefinitions) true EnableAllWarnings - 4464;4711;4770;4548;4820;4668;4255;6001;6054;28196;30030;30029;%(DisableSpecificWarnings) + 4464;4711;4770;4548;4820;4668;4255;5045;6001;6054;28196;30030;30029;%(DisableSpecificWarnings) true true diff --git a/vs2017/xenvif_coinst/xenvif_coinst.vcxproj b/vs2017/xenvif_coinst/xenvif_coinst.vcxproj index f448c45..ee691ab 100644 --- a/vs2017/xenvif_coinst/xenvif_coinst.vcxproj +++ b/vs2017/xenvif_coinst/xenvif_coinst.vcxproj @@ -24,7 +24,7 @@ __MODULE__="XENVIF_COINST";%(PreprocessorDefinitions) EnableAllWarnings - 4127;4548;4711;4820;4668;4255;6001;6054;28196;%(DisableSpecificWarnings) + 4127;4548;4711;4820;4668;4255;5045;6001;6054;28196;%(DisableSpecificWarnings) true true MultiThreadedDebug