diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-08 16:08:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-08 16:08:23 +0300 |
commit | c836061c4bce5fac2c3c349ace3bddb99f081c9e (patch) | |
tree | 08a047e4a37af8ab581aa21439584ad2e9cb9566 /plugins/CryptoPP | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'plugins/CryptoPP')
-rw-r--r-- | plugins/CryptoPP/crypto/cryptlib_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/CryptoPP/cryptopp_15.vcxproj | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/plugins/CryptoPP/crypto/cryptlib_15.vcxproj b/plugins/CryptoPP/crypto/cryptlib_15.vcxproj index 1e474888a5..6679b5e5a7 100644 --- a/plugins/CryptoPP/crypto/cryptlib_15.vcxproj +++ b/plugins/CryptoPP/crypto/cryptlib_15.vcxproj @@ -83,6 +83,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <AdditionalIncludeDirectories>..\..\..\include\msapi</AdditionalIncludeDirectories> @@ -102,6 +103,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <AdditionalIncludeDirectories>..\..\..\include\msapi</AdditionalIncludeDirectories> @@ -119,6 +121,7 @@ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <AdditionalIncludeDirectories>..\..\..\include\msapi</AdditionalIncludeDirectories> @@ -136,6 +139,7 @@ <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <Optimization>Disabled</Optimization> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <AdditionalIncludeDirectories>..\..\..\include\msapi</AdditionalIncludeDirectories> diff --git a/plugins/CryptoPP/cryptopp_15.vcxproj b/plugins/CryptoPP/cryptopp_15.vcxproj index 8f2808dfd5..f0a3e2fb03 100644 --- a/plugins/CryptoPP/cryptopp_15.vcxproj +++ b/plugins/CryptoPP/cryptopp_15.vcxproj @@ -84,6 +84,7 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -109,6 +110,7 @@ <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -136,6 +138,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -164,6 +167,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |