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 | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AdvaImg/AdvaImg_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/CryptoPP/crypto/cryptlib_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/CryptoPP/cryptopp_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/FileAsMessage/fileecho_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/HTTPServer/HTTPServer_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/MirOTR/MirOTR_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/MirOTR/ekhtml/ekhtml_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/MirOTR/libotr/libotr_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/NotesAndReminders/NotesReminders_15.vcxproj | 4 | ||||
-rw-r--r-- | plugins/SecureIM/secureim_15.vcxproj | 4 |
11 files changed, 44 insertions, 0 deletions
diff --git a/plugins/AdvaImg/AdvaImg_15.vcxproj b/plugins/AdvaImg/AdvaImg_15.vcxproj index b66e58be0d..08fea49cd1 100644 --- a/plugins/AdvaImg/AdvaImg_15.vcxproj +++ b/plugins/AdvaImg/AdvaImg_15.vcxproj @@ -85,6 +85,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -112,6 +113,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -140,6 +142,7 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -166,6 +169,7 @@ <FunctionLevelLinking>true</FunctionLevelLinking> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 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> diff --git a/plugins/FileAsMessage/fileecho_15.vcxproj b/plugins/FileAsMessage/fileecho_15.vcxproj index 6606bea795..ad58b889c1 100644 --- a/plugins/FileAsMessage/fileecho_15.vcxproj +++ b/plugins/FileAsMessage/fileecho_15.vcxproj @@ -87,6 +87,7 @@ <ExceptionHandling>false</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>main.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -116,6 +117,7 @@ <ExceptionHandling>false</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>main.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -144,6 +146,7 @@ <ExceptionHandling>false</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>main.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -170,6 +173,7 @@ <ExceptionHandling>false</ExceptionHandling> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>main.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> diff --git a/plugins/HTTPServer/HTTPServer_15.vcxproj b/plugins/HTTPServer/HTTPServer_15.vcxproj index 472743a315..3d9d9d65f0 100644 --- a/plugins/HTTPServer/HTTPServer_15.vcxproj +++ b/plugins/HTTPServer/HTTPServer_15.vcxproj @@ -87,6 +87,7 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>Glob.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -112,6 +113,7 @@ <WarningLevel>Level3</WarningLevel> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>Glob.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -140,6 +142,7 @@ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>Glob.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -170,6 +173,7 @@ <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>Glob.h</PrecompiledHeaderFile> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> diff --git a/plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj b/plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj index 9912bf6124..c6ba364adb 100644 --- a/plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj +++ b/plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj @@ -82,6 +82,7 @@ <DisableSpecificWarnings>4018;4028;4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -93,6 +94,7 @@ <DisableSpecificWarnings>4018;4028;4146;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> @@ -105,6 +107,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4018;4028;4146;4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -116,6 +119,7 @@ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4018;4028;4146;4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> diff --git a/plugins/MirOTR/MirOTR_15.vcxproj b/plugins/MirOTR/MirOTR_15.vcxproj index bf161a6cbb..6b6344f3c5 100644 --- a/plugins/MirOTR/MirOTR_15.vcxproj +++ b/plugins/MirOTR/MirOTR_15.vcxproj @@ -84,6 +84,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -109,6 +110,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level4</WarningLevel> <MinimalRebuild>true</MinimalRebuild> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -137,6 +139,7 @@ <FloatingPointModel>Fast</FloatingPointModel> <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -166,6 +169,7 @@ <FloatingPointModel>Fast</FloatingPointModel> <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies> diff --git a/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj b/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj index 03b2b817d4..9ff50e34c8 100644 --- a/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj +++ b/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj @@ -83,6 +83,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -94,6 +95,7 @@ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -109,6 +111,7 @@ <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -123,6 +126,7 @@ <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> diff --git a/plugins/MirOTR/libotr/libotr_15.vcxproj b/plugins/MirOTR/libotr/libotr_15.vcxproj index c2fcca93bd..e7d4a4393d 100644 --- a/plugins/MirOTR/libotr/libotr_15.vcxproj +++ b/plugins/MirOTR/libotr/libotr_15.vcxproj @@ -82,6 +82,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -93,6 +94,7 @@ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -105,6 +107,7 @@ <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -116,6 +119,7 @@ <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> diff --git a/plugins/NotesAndReminders/NotesReminders_15.vcxproj b/plugins/NotesAndReminders/NotesReminders_15.vcxproj index a4dc5c21d5..e066e713af 100644 --- a/plugins/NotesAndReminders/NotesReminders_15.vcxproj +++ b/plugins/NotesAndReminders/NotesReminders_15.vcxproj @@ -89,6 +89,7 @@ <PrecompiledHeaderFile>globals.h</PrecompiledHeaderFile> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -117,6 +118,7 @@ <PrecompiledHeaderFile>globals.h</PrecompiledHeaderFile> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -146,6 +148,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>globals.h</PrecompiledHeaderFile> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -177,6 +180,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>globals.h</PrecompiledHeaderFile> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> diff --git a/plugins/SecureIM/secureim_15.vcxproj b/plugins/SecureIM/secureim_15.vcxproj index 3071a89f8e..1a3c3fc5bf 100644 --- a/plugins/SecureIM/secureim_15.vcxproj +++ b/plugins/SecureIM/secureim_15.vcxproj @@ -84,6 +84,7 @@ <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -110,6 +111,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -139,6 +141,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -169,6 +172,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <PrecompiledHeaderFile>commonheaders.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> |