From 0e854af70f6f330e63aa36fde125fbb0ca4ff8ef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Dec 2018 15:40:58 +0300 Subject: C++ exceptions are disabled in all cases where they just prevent warnings --- protocols/Discord/discord.vcxproj | 5 ----- protocols/Discord/src/stdafx.h | 2 ++ protocols/Dummy/dummy.vcxproj | 5 ----- protocols/EmLanProto/emlanproto.vcxproj | 5 ----- protocols/FacebookRM/facebook.vcxproj | 5 ----- protocols/Gadu-Gadu/gadugadu.vcxproj | 1 - protocols/ICQCorp/ICQCorp.vcxproj | 5 ----- protocols/JabberG/jabber.vcxproj | 1 - protocols/MSN/msn.vcxproj | 3 --- protocols/MinecraftDynmap/MinecraftDynmap.vcxproj | 5 ----- protocols/Omegle/omegle.vcxproj | 5 ----- protocols/SkypeWeb/SkypeWeb.vcxproj | 5 ----- protocols/SkypeWeb/src/stdafx.h | 2 ++ protocols/Steam/Steam.vcxproj | 1 - protocols/Tox/Tox.vcxproj | 5 ----- protocols/Tox/src/stdafx.h | 4 +++- protocols/Tox/src/tox_connection.cpp | 2 +- protocols/Twitter/src/stdafx.h | 2 ++ protocols/VKontakte/vk.vcxproj | 5 ----- 19 files changed, 10 insertions(+), 58 deletions(-) (limited to 'protocols') diff --git a/protocols/Discord/discord.vcxproj b/protocols/Discord/discord.vcxproj index ef948176a8..ab81bd4bb4 100644 --- a/protocols/Discord/discord.vcxproj +++ b/protocols/Discord/discord.vcxproj @@ -25,11 +25,6 @@ - - - Sync - - {01F9E227-06F5-4BED-907F-402CA7DFAFE6} diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h index 10891296e9..7f23c5d300 100644 --- a/protocols/Discord/src/stdafx.h +++ b/protocols/Discord/src/stdafx.h @@ -8,6 +8,8 @@ #include #include #include + +#include #include #include #include diff --git a/protocols/Dummy/dummy.vcxproj b/protocols/Dummy/dummy.vcxproj index 132a1b9c1b..f99be2ab7c 100644 --- a/protocols/Dummy/dummy.vcxproj +++ b/protocols/Dummy/dummy.vcxproj @@ -25,9 +25,4 @@ - - - Sync - - \ No newline at end of file diff --git a/protocols/EmLanProto/emlanproto.vcxproj b/protocols/EmLanProto/emlanproto.vcxproj index 27cf97a318..724615b0c2 100644 --- a/protocols/EmLanProto/emlanproto.vcxproj +++ b/protocols/EmLanProto/emlanproto.vcxproj @@ -25,9 +25,4 @@ - - - Sync - - \ No newline at end of file diff --git a/protocols/FacebookRM/facebook.vcxproj b/protocols/FacebookRM/facebook.vcxproj index 4bf9c5b79c..7abb3a804b 100644 --- a/protocols/FacebookRM/facebook.vcxproj +++ b/protocols/FacebookRM/facebook.vcxproj @@ -30,11 +30,6 @@ NotUsing - - - Sync - - {f6a9340e-b8d9-4c75-be30-47dc66d0abc7} diff --git a/protocols/Gadu-Gadu/gadugadu.vcxproj b/protocols/Gadu-Gadu/gadugadu.vcxproj index 3b2553918c..0e4c337738 100644 --- a/protocols/Gadu-Gadu/gadugadu.vcxproj +++ b/protocols/Gadu-Gadu/gadugadu.vcxproj @@ -27,7 +27,6 @@ - Sync src\libgadu;$(ProjectDir)..\..\libs\zlib\src;%(AdditionalIncludeDirectories) 4100;%(DisableSpecificWarnings) gg.h diff --git a/protocols/ICQCorp/ICQCorp.vcxproj b/protocols/ICQCorp/ICQCorp.vcxproj index ee157e019a..ca9f97ee16 100644 --- a/protocols/ICQCorp/ICQCorp.vcxproj +++ b/protocols/ICQCorp/ICQCorp.vcxproj @@ -25,9 +25,4 @@ - - - Sync - - \ No newline at end of file diff --git a/protocols/JabberG/jabber.vcxproj b/protocols/JabberG/jabber.vcxproj index 74dddceefa..76c883041c 100755 --- a/protocols/JabberG/jabber.vcxproj +++ b/protocols/JabberG/jabber.vcxproj @@ -28,7 +28,6 @@ $(ProjectDir)..\..\libs\libaxolotl\src;%(AdditionalIncludeDirectories) - Sync libeay32.lib;ssleay32.lib;%(AdditionalDependencies) diff --git a/protocols/MSN/msn.vcxproj b/protocols/MSN/msn.vcxproj index 8f29aceb73..67ec5aa81b 100644 --- a/protocols/MSN/msn.vcxproj +++ b/protocols/MSN/msn.vcxproj @@ -26,9 +26,6 @@ - - Sync - libeay32.lib;%(AdditionalDependencies) diff --git a/protocols/MinecraftDynmap/MinecraftDynmap.vcxproj b/protocols/MinecraftDynmap/MinecraftDynmap.vcxproj index ae81b7dc57..27d40d44b2 100644 --- a/protocols/MinecraftDynmap/MinecraftDynmap.vcxproj +++ b/protocols/MinecraftDynmap/MinecraftDynmap.vcxproj @@ -30,9 +30,4 @@ NotUsing - - - Sync - - \ No newline at end of file diff --git a/protocols/Omegle/omegle.vcxproj b/protocols/Omegle/omegle.vcxproj index eb61116d9b..dbab91773f 100644 --- a/protocols/Omegle/omegle.vcxproj +++ b/protocols/Omegle/omegle.vcxproj @@ -30,9 +30,4 @@ NotUsing - - - Sync - - \ No newline at end of file diff --git a/protocols/SkypeWeb/SkypeWeb.vcxproj b/protocols/SkypeWeb/SkypeWeb.vcxproj index 75292a9b36..2c38d7a301 100644 --- a/protocols/SkypeWeb/SkypeWeb.vcxproj +++ b/protocols/SkypeWeb/SkypeWeb.vcxproj @@ -25,11 +25,6 @@ - - - Sync - - diff --git a/protocols/SkypeWeb/src/stdafx.h b/protocols/SkypeWeb/src/stdafx.h index 2be5607f21..3bc1b1cc53 100644 --- a/protocols/SkypeWeb/src/stdafx.h +++ b/protocols/SkypeWeb/src/stdafx.h @@ -19,6 +19,8 @@ along with this program. If not, see . #define _COMMON_H_ #include + +#include #include #include #include diff --git a/protocols/Steam/Steam.vcxproj b/protocols/Steam/Steam.vcxproj index 36b0c03011..dd104a1159 100644 --- a/protocols/Steam/Steam.vcxproj +++ b/protocols/Steam/Steam.vcxproj @@ -36,7 +36,6 @@ - Sync stdcpp17 diff --git a/protocols/Tox/Tox.vcxproj b/protocols/Tox/Tox.vcxproj index a550839300..5004a62a3a 100644 --- a/protocols/Tox/Tox.vcxproj +++ b/protocols/Tox/Tox.vcxproj @@ -30,11 +30,6 @@ ..\..\include;libtox\src\toxcore;libtox\src\toxencryptsave;..\..\plugins\ExternalAPI;%(AdditionalIncludeDirectories) - - - Sync - - diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h index b1d360aae5..9dbf24a568 100644 --- a/protocols/Tox/src/stdafx.h +++ b/protocols/Tox/src/stdafx.h @@ -2,9 +2,11 @@ #define _COMMON_H_ #include +#include + #include +#include #include -#include #include #include diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp index fef16834c8..02ab9e223c 100644 --- a/protocols/Tox/src/tox_connection.cpp +++ b/protocols/Tox/src/tox_connection.cpp @@ -62,7 +62,7 @@ void CToxProto::OnToxCheck(void *arg, BYTE) { CToxProto *proto = (CToxProto*)arg; - int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES); + // int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES); if (proto->m_iStatus < ID_STATUS_ONLINE) proto->TryConnect(); else diff --git a/protocols/Twitter/src/stdafx.h b/protocols/Twitter/src/stdafx.h index 3eb1d93a87..8373154179 100644 --- a/protocols/Twitter/src/stdafx.h +++ b/protocols/Twitter/src/stdafx.h @@ -5,6 +5,8 @@ #pragma once +#define _HAS_EXCEPTIONS 1 + #include #include #include diff --git a/protocols/VKontakte/vk.vcxproj b/protocols/VKontakte/vk.vcxproj index 7452affb5e..ad417c8054 100644 --- a/protocols/VKontakte/vk.vcxproj +++ b/protocols/VKontakte/vk.vcxproj @@ -25,11 +25,6 @@ - - - Sync - - {f6a9340e-b8d9-4c75-be30-47dc66d0abc7} -- cgit v1.2.3