diff --git a/src/3rdparty/jansson/dump.c b/src/3rdparty/jansson/dump.c index a332241d..59b9b2c7 100644 --- a/src/3rdparty/jansson/dump.c +++ b/src/3rdparty/jansson/dump.c @@ -5,7 +5,9 @@ * it under the terms of the MIT license. See LICENSE for details. */ +#ifdef _MSC_VER #pragma warning(disable:4090) +#endif #ifndef _GNU_SOURCE #define _GNU_SOURCE diff --git a/src/3rdparty/jansson/hashtable.c b/src/3rdparty/jansson/hashtable.c index e79f83cd..dcc1687b 100644 --- a/src/3rdparty/jansson/hashtable.c +++ b/src/3rdparty/jansson/hashtable.c @@ -5,7 +5,9 @@ * it under the terms of the MIT license. See LICENSE for details. */ +#ifdef _MSC_VER #pragma warning(disable:4334) +#endif #if HAVE_CONFIG_H #include diff --git a/src/net/Network.cpp b/src/net/Network.cpp index a5132c73..04ce2ae7 100644 --- a/src/net/Network.cpp +++ b/src/net/Network.cpp @@ -21,7 +21,9 @@ * along with this program. If not, see . */ +#ifdef _MSC_VER #pragma warning(disable:4244) +#endif #include #include