From d809028df68318fa477bd9cf0004725d3ab94520 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 10 Jul 2018 15:44:32 +0100 Subject: [PATCH] Disable warning about spectre mitigation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- vs2017/xeniface/xeniface.vcxproj | 2 +- vs2017/xeniface_coinst/xeniface_coinst.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5