json.h: suppress `-Wzero-as-null-pointer-constant` Clang warning (#5701)
This commit is contained in:
parent
d1b42d0771
commit
5fed6e7dd9
|
@ -25,10 +25,12 @@ SUPPRESS_WARNING_PUSH("-Wfloat-equal")
|
||||||
SUPPRESS_WARNING_CLANG_PUSH("-Wtautological-type-limit-compare")
|
SUPPRESS_WARNING_CLANG_PUSH("-Wtautological-type-limit-compare")
|
||||||
SUPPRESS_WARNING_GCC_PUSH("-Wparentheses")
|
SUPPRESS_WARNING_GCC_PUSH("-Wparentheses")
|
||||||
SUPPRESS_WARNING_CLANG_PUSH("-Wextra-semi-stmt")
|
SUPPRESS_WARNING_CLANG_PUSH("-Wextra-semi-stmt")
|
||||||
|
SUPPRESS_WARNING_CLANG_PUSH("-Wzero-as-null-pointer-constant")
|
||||||
|
|
||||||
#define PICOJSON_USE_INT64
|
#define PICOJSON_USE_INT64
|
||||||
#include <picojson.h>
|
#include <picojson.h>
|
||||||
|
|
||||||
|
SUPPRESS_WARNING_CLANG_POP
|
||||||
SUPPRESS_WARNING_CLANG_POP
|
SUPPRESS_WARNING_CLANG_POP
|
||||||
SUPPRESS_WARNING_GCC_POP
|
SUPPRESS_WARNING_GCC_POP
|
||||||
SUPPRESS_WARNING_CLANG_POP
|
SUPPRESS_WARNING_CLANG_POP
|
||||||
|
|
Loading…
Reference in New Issue