From c836061c4bce5fac2c3c349ace3bddb99f081c9e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 8 Nov 2017 16:08:23 +0300 Subject: fix for the possible crash with static variables --- plugins/AdvaImg/AdvaImg_15.vcxproj | 4 ++++ plugins/CryptoPP/crypto/cryptlib_15.vcxproj | 4 ++++ plugins/CryptoPP/cryptopp_15.vcxproj | 4 ++++ plugins/FileAsMessage/fileecho_15.vcxproj | 4 ++++ plugins/HTTPServer/HTTPServer_15.vcxproj | 4 ++++ plugins/MirOTR/Libgcrypt/Libgcrypt_15.vcxproj | 4 ++++ plugins/MirOTR/MirOTR_15.vcxproj | 4 ++++ plugins/MirOTR/ekhtml/ekhtml_15.vcxproj | 4 ++++ plugins/MirOTR/libotr/libotr_15.vcxproj | 4 ++++ plugins/NotesAndReminders/NotesReminders_15.vcxproj | 4 ++++ plugins/SecureIM/secureim_15.vcxproj | 4 ++++ 11 files changed, 44 insertions(+) (limited to 'plugins') 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 @@ true Level3 4996;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;UNICODE;%(PreprocessorDefinitions) @@ -112,6 +113,7 @@ true Level3 4996;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;UNICODE;%(PreprocessorDefinitions) @@ -140,6 +142,7 @@ Level3 EditAndContinue 4996;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -166,6 +169,7 @@ true Level3 4996;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(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 @@ Use pch.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) ..\..\..\include\msapi @@ -102,6 +103,7 @@ Use pch.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) ..\..\..\include\msapi @@ -119,6 +121,7 @@ pch.h Level3 Disabled + /Zc:threadSafeInit- %(AdditionalOptions) ..\..\..\include\msapi @@ -136,6 +139,7 @@ pch.h Level3 Disabled + /Zc:threadSafeInit- %(AdditionalOptions) ..\..\..\include\msapi 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 @@ Level3 EditAndContinue Use + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -109,6 +110,7 @@ commonheaders.h Level3 Use + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -136,6 +138,7 @@ Use commonheaders.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(PreprocessorDefinitions) @@ -164,6 +167,7 @@ Use commonheaders.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(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 @@ false Use main.h + /Zc:threadSafeInit- %(AdditionalOptions) comctl32.lib;%(AdditionalDependencies) @@ -116,6 +117,7 @@ false Use main.h + /Zc:threadSafeInit- %(AdditionalOptions) comctl32.lib;%(AdditionalDependencies) @@ -144,6 +146,7 @@ false Use main.h + /Zc:threadSafeInit- %(AdditionalOptions) comctl32.lib;%(AdditionalDependencies) @@ -170,6 +173,7 @@ false Use main.h + /Zc:threadSafeInit- %(AdditionalOptions) comctl32.lib;%(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 @@ EditAndContinue Use Glob.h + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -112,6 +113,7 @@ Level3 Use Glob.h + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -140,6 +142,7 @@ Size Use Glob.h + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(PreprocessorDefinitions) @@ -170,6 +173,7 @@ Size Use Glob.h + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(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 @@ 4018;4028;4146;4244;%(DisableSpecificWarnings) Fast Size + /Zc:threadSafeInit- %(AdditionalOptions) @@ -93,6 +94,7 @@ 4018;4028;4146;4244;4267;%(DisableSpecificWarnings) Fast Size + /Zc:threadSafeInit- %(AdditionalOptions) @@ -105,6 +107,7 @@ Level3 4018;4028;4146;4244;%(DisableSpecificWarnings) EditAndContinue + /Zc:threadSafeInit- %(AdditionalOptions) @@ -116,6 +119,7 @@ MultiThreadedDebugDLL Level3 4018;4028;4146;4244;4267;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) 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 @@ Use Level4 EditAndContinue + /Zc:threadSafeInit- %(AdditionalOptions) Comctl32.lib;%(AdditionalDependencies) @@ -109,6 +110,7 @@ Use Level4 true + /Zc:threadSafeInit- %(AdditionalOptions) Comctl32.lib;%(AdditionalDependencies) @@ -137,6 +139,7 @@ Fast false false + /Zc:threadSafeInit- %(AdditionalOptions) Comctl32.lib;%(AdditionalDependencies) @@ -166,6 +169,7 @@ Fast false false + /Zc:threadSafeInit- %(AdditionalOptions) Comctl32.lib;%(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 @@ Level3 4244;%(DisableSpecificWarnings) EditAndContinue + /Zc:threadSafeInit- %(AdditionalOptions) @@ -94,6 +95,7 @@ MultiThreadedDebugDLL Level3 4244;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) @@ -109,6 +111,7 @@ false false Size + /Zc:threadSafeInit- %(AdditionalOptions) @@ -123,6 +126,7 @@ false false Size + /Zc:threadSafeInit- %(AdditionalOptions) 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 @@ Level3 4996;4267;%(DisableSpecificWarnings) EditAndContinue + /Zc:threadSafeInit- %(AdditionalOptions) @@ -93,6 +94,7 @@ MultiThreadedDebugDLL Level3 4996;4267;%(DisableSpecificWarnings) + /Zc:threadSafeInit- %(AdditionalOptions) @@ -105,6 +107,7 @@ 4996;4267;%(DisableSpecificWarnings) Fast Size + /Zc:threadSafeInit- %(AdditionalOptions) @@ -116,6 +119,7 @@ 4996;4267;%(DisableSpecificWarnings) Fast Size + /Zc:threadSafeInit- %(AdditionalOptions) 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 @@ globals.h EnableFastChecks false + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -117,6 +118,7 @@ globals.h EnableFastChecks false + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -146,6 +148,7 @@ Use globals.h false + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(PreprocessorDefinitions) @@ -177,6 +180,7 @@ Use globals.h false + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(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 @@ commonheaders.h Level3 EditAndContinue + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -110,6 +111,7 @@ Use commonheaders.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) _DEBUG;%(PreprocessorDefinitions) @@ -139,6 +141,7 @@ Use commonheaders.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(PreprocessorDefinitions) @@ -169,6 +172,7 @@ Use commonheaders.h Level3 + /Zc:threadSafeInit- %(AdditionalOptions) NDEBUG;%(PreprocessorDefinitions) -- cgit v1.2.3