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 /protocols | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/EmLanProto/amdproto_15.vcxproj | 4 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/Gadu-Gadu_15.vcxproj | 4 | ||||
-rw-r--r-- | protocols/ICQCorp/ICQCorp_15.vcxproj | 4 | ||||
-rw-r--r-- | protocols/Sametime/sametime_15.vcxproj | 22 |
4 files changed, 25 insertions, 9 deletions
diff --git a/protocols/EmLanProto/amdproto_15.vcxproj b/protocols/EmLanProto/amdproto_15.vcxproj index eba36865c5..b8f71e960a 100644 --- a/protocols/EmLanProto/amdproto_15.vcxproj +++ b/protocols/EmLanProto/amdproto_15.vcxproj @@ -85,6 +85,7 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -111,6 +112,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level3</WarningLevel> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -138,6 +140,7 @@ <WarningLevel>Level3</WarningLevel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -167,6 +170,7 @@ <WarningLevel>Level3</WarningLevel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> diff --git a/protocols/Gadu-Gadu/Gadu-Gadu_15.vcxproj b/protocols/Gadu-Gadu/Gadu-Gadu_15.vcxproj index 163f3022cf..ed33258284 100644 --- a/protocols/Gadu-Gadu/Gadu-Gadu_15.vcxproj +++ b/protocols/Gadu-Gadu/Gadu-Gadu_15.vcxproj @@ -87,6 +87,7 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -116,6 +117,7 @@ <PrecompiledHeaderFile>gg.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -147,6 +149,7 @@ <PrecompiledHeaderFile>gg.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -179,6 +182,7 @@ <PrecompiledHeaderFile>gg.h</PrecompiledHeaderFile> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> diff --git a/protocols/ICQCorp/ICQCorp_15.vcxproj b/protocols/ICQCorp/ICQCorp_15.vcxproj index 18bf1c6e16..2321688a75 100644 --- a/protocols/ICQCorp/ICQCorp_15.vcxproj +++ b/protocols/ICQCorp/ICQCorp_15.vcxproj @@ -84,6 +84,7 @@ <WarningLevel>Level3</WarningLevel> <PrecompiledHeaderFile>corp.h</PrecompiledHeaderFile> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -109,6 +110,7 @@ <WarningLevel>Level3</WarningLevel> <PrecompiledHeaderFile>corp.h</PrecompiledHeaderFile> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -136,6 +138,7 @@ <WarningLevel>Level3</WarningLevel> <PrecompiledHeaderFile>corp.h</PrecompiledHeaderFile> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -164,6 +167,7 @@ <WarningLevel>Level3</WarningLevel> <PrecompiledHeaderFile>corp.h</PrecompiledHeaderFile> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> diff --git a/protocols/Sametime/sametime_15.vcxproj b/protocols/Sametime/sametime_15.vcxproj index cb39661311..bb1b353bce 100644 --- a/protocols/Sametime/sametime_15.vcxproj +++ b/protocols/Sametime/sametime_15.vcxproj @@ -94,6 +94,7 @@ <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -130,6 +131,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -167,6 +169,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -203,6 +206,7 @@ <DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <PrecompiledHeader>Use</PrecompiledHeader> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <ResourceCompile> <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> @@ -282,18 +286,18 @@ <ClCompile Include="src\meanwhile\src\st_list.c"> <PrecompiledHeader>NotUsing</PrecompiledHeader> </ClCompile> - <ClCompile Include="src\messaging.cpp"/> - <ClCompile Include="src\options.cpp"/> - <ClCompile Include="src\places.cpp"/> - <ClCompile Include="src\sametime.cpp"/> - <ClCompile Include="src\sametime_proto.cpp"/> - <ClCompile Include="src\sametime_session.cpp"/> - <ClCompile Include="src\session_announce_win.cpp"/> + <ClCompile Include="src\messaging.cpp" /> + <ClCompile Include="src\options.cpp" /> + <ClCompile Include="src\places.cpp" /> + <ClCompile Include="src\sametime.cpp" /> + <ClCompile Include="src\sametime_proto.cpp" /> + <ClCompile Include="src\sametime_session.cpp" /> + <ClCompile Include="src\session_announce_win.cpp" /> <ClCompile Include="src\StdAfx.cpp"> <PrecompiledHeader>Create</PrecompiledHeader> </ClCompile> - <ClCompile Include="src\userlist.cpp"/> - <ClCompile Include="src\utils.cpp"/> + <ClCompile Include="src\userlist.cpp" /> + <ClCompile Include="src\utils.cpp" /> </ItemGroup> <ItemGroup> <ClInclude Include="src\meanwhile\src\mpi\mpi-config.h" /> |