From ac3f08a4d8c96f2e0892a32124b35482a2b8acbe Mon Sep 17 00:00:00 2001 From: kimkulling Date: Fri, 20 Mar 2020 09:49:36 +0100 Subject: [PATCH] fix 3rdparty warnings. --- code/Assjson/cencode.h | 4 ++++ contrib/zip/src/zip.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/code/Assjson/cencode.h b/code/Assjson/cencode.h index c1e3464af..6bf76724e 100644 --- a/code/Assjson/cencode.h +++ b/code/Assjson/cencode.h @@ -8,6 +8,10 @@ For details, see http://sourceforge.net/projects/libb64 #ifndef BASE64_CENCODE_H #define BASE64_CENCODE_H +#ifdef _WIN32 +#pragma warning(disable : 4127 ) +#endif // _WIN32 + typedef enum { step_A, step_B, step_C diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h index cd3ab5cd0..807e328a8 100644 --- a/contrib/zip/src/zip.h +++ b/contrib/zip/src/zip.h @@ -15,6 +15,10 @@ #include #include +#ifdef _WIN32 +#pragma warning(disable : 4127 ) +#endif //_WIN32 + #ifdef __cplusplus extern "C" { #endif