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
master
Roman Telezhynskyi 2018-09-29 09:25:14 +03:00
parent ecc952d235
commit 9ab6b4b842
1 changed files with 1 additions and 0 deletions

View File

@ -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 \