From bb97adefed2f496a7d29ee0ea5dea5d0fd4072c3 Mon Sep 17 00:00:00 2001 From: jeefo Date: Tue, 7 Sep 2021 14:41:12 +0300 Subject: [PATCH] Disable thread-safe initialization for static local variables in VS2015+ when XP toolset is used. (#673) --- regamedll/msvc/ReGameDLL.vcxproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/regamedll/msvc/ReGameDLL.vcxproj b/regamedll/msvc/ReGameDLL.vcxproj index 50d85ca3..3e882d9e 100644 --- a/regamedll/msvc/ReGameDLL.vcxproj +++ b/regamedll/msvc/ReGameDLL.vcxproj @@ -922,6 +922,7 @@ REGAMEDLL_ADD;REGAMEDLL_API;REGAMEDLL_FIXES;REGAMEDLL_SSE;REGAMEDLL_SELF;REGAMEDLL_CHECKS;UNICODE_FIXES;BUILD_LATEST;BUILD_LATEST_FIXES;CLIENT_WEAPONS;USE_QSTRING;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions) Fast /arch:IA32 %(AdditionalOptions) + /Zc:threadSafeInit- %(AdditionalOptions) MultiThreadedDebug Use precompiled.h @@ -958,6 +959,7 @@ REGAMEDLL_ADD;REGAMEDLL_API;REGAMEDLL_FIXES;REGAMEDLL_SSE;REGAMEDLL_SELF;REGAMEDLL_CHECKS;UNICODE_FIXES;BUILD_LATEST;BUILD_LATEST_FIXES;CLIENT_WEAPONS;USE_QSTRING;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions) Fast /arch:IA32 %(AdditionalOptions) + /Zc:threadSafeInit- %(AdditionalOptions) MultiThreaded Use precompiled.h @@ -1003,6 +1005,7 @@ PLAY_GAMEDLL;REGAMEDLL_SELF;REGAMEDLL_CHECKS;REGAMEDLL_API;REGAMEDLL_SSE;CLIENT_WEAPONS;USE_QSTRING;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions) Precise /arch:IA32 %(AdditionalOptions) + /Zc:threadSafeInit- %(AdditionalOptions) MultiThreaded Use precompiled.h @@ -1048,6 +1051,7 @@ PLAY_GAMEDLL;REGAMEDLL_SSE;REGAMEDLL_SELF;REGAMEDLL_CHECKS;REGAMEDLL_API;CLIENT_WEAPONS;USE_QSTRING;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions) Precise /arch:IA32 %(AdditionalOptions) + /Zc:threadSafeInit- %(AdditionalOptions) MultiThreadedDebug Use precompiled.h