From 0b5edd32c495b0add83e914f69ab8dfc41feaab5 Mon Sep 17 00:00:00 2001 From: Gabriele Giuseppini Date: Sun, 19 Jul 2020 13:35:28 +0200 Subject: [PATCH] Disabled warning 4706 under Visual Studio (issue #129) --- picojson.h | 1 + 1 file changed, 1 insertion(+) diff --git a/picojson.h b/picojson.h index ef4b903..346cf05 100644 --- a/picojson.h +++ b/picojson.h @@ -110,6 +110,7 @@ extern "C" { #pragma warning(disable : 4244) // conversion from int to char #pragma warning(disable : 4127) // conditional expression is constant #pragma warning(disable : 4702) // unreachable code +#pragma warning(disable : 4706) // assignment within conditional expression #else #define SNPRINTF snprintf #endif