From 722264f6347d3fd9c373e99fe69d0ebdd0fb4d51 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 27 Jan 2018 12:32:55 +0300 Subject: [PATCH] Add /Qspectre Visual C++ compiler option. --- Telegram/gyp/settings_win.gypi | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/gyp/settings_win.gypi b/Telegram/gyp/settings_win.gypi index 08725f19a1..ca308612eb 100644 --- a/Telegram/gyp/settings_win.gypi +++ b/Telegram/gyp/settings_win.gypi @@ -26,6 +26,7 @@ 'AdditionalOptions': [ '/std:c++latest', '/permissive-', + '/Qspectre', '/MP', # Enable multi process build. '/EHsc', # Catch C++ exceptions only, extern C functions never throw a C++ exception. '/w14834', # [[nodiscard]]