diff options
-rw-r--r-- | CMakeLists.txt | 2 |
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 |