From 9ab6b4b84251018d18fd31424ae6eae75e2ae307 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 29 Sep 2018 09:25:14 +0300 Subject: [PATCH] Ignore Spectre mitigation warning. VS2017 has added a new warning that indicates where Spectre mitigation code would be inserted if /Qspectre were specified. --HG-- branch : release --- common.pri | 1 + 1 file changed, 1 insertion(+) diff --git a/common.pri b/common.pri index 5e486d8c1..523aa7cab 100644 --- a/common.pri +++ b/common.pri @@ -831,6 +831,7 @@ MSVC_DEBUG_CXXFLAGS += \ # standard library headers, so it's impractical to leave them on. -wd4619 \ # there is no warning number 'XXXX' -wd4668 \ # XXX is not defined as a preprocessor macro + -wd5045 \ # Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified # Because Microsoft doesn't provide a way to suppress warnings in headers we will suppress # all warnings we meet in headers globally -wd4548 \