Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlateralusX <lateralusx.github@gmail.com>2018-10-09 14:27:23 +0300
committerlateralusX <lateralusx.github@gmail.com>2018-10-09 14:27:23 +0300
commit8201e5607cc52f6fdc0cb2c1b596c360bdaf5bd9 (patch)
tree133fc95147bf941110dd33a4e6dae4d16e85526f
parent911e2e4d34bb22a2166c4b4ddd755779e8f06c8c (diff)
Fix build error due to spectre warning issued on later msvc versions.
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30c00425..59f46808 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,6 +86,8 @@ elseif(MSVC)
# (performance warning)
"C4820" # 'bytes' bytes padding added after construct 'member_name'
"C5027" # move assignment operator was implicitly defined as deleted
+ "C5045" # compiler will insert Spectre mitigation for memory load
+ # if /Qspectre switch specified
)
set(MSVC_LEVEL4_WARNINGS_LIST
# See https://connect.microsoft.com/VisualStudio/feedback/details/1217660/warning-c4265-when-using-functional-header