From 70f1302fa7d4565fc423a7a8e39dfb9dd912721f Mon Sep 17 00:00:00 2001 From: Maxim Kulyk Date: Wed, 25 Mar 2020 16:37:15 +0200 Subject: [PATCH] [MSVC] Disable exceptions and spectre mitigation in common_default.props Disabling exceptions in common_default.props ensures that all projects do not use them since not all projects import rpcs3_default.props. Spectre mitigation is disabled by default unless WDK is installed so this is more of a just in case measure since rpcs3 does not need it. --- common_default.props | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common_default.props b/common_default.props index 3d3d3c48a0..c12e98aab1 100644 --- a/common_default.props +++ b/common_default.props @@ -6,9 +6,15 @@ 10.0 + + + false + stdcpplatest + _SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING=1;_HAS_EXCEPTIONS=0;%(PreprocessorDefinitions) + false -d2FH4- %(AdditionalOptions)