Skip to content

Commit 1373995

Browse files
committed
json.h: suppressed -Wformat warning
1 parent cef2dbc commit 1373995

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/json.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ SUPPRESS_WARNING_PUSH("-Wfloat-equal")
2525
SUPPRESS_WARNING_CLANG_PUSH("-Wtautological-type-limit-compare")
2626
SUPPRESS_WARNING_CLANG_PUSH("-Wextra-semi-stmt")
2727
SUPPRESS_WARNING_CLANG_PUSH("-Wzero-as-null-pointer-constant")
28+
//SUPPRESS_WARNING_CLANG_PUSH("-Wformat") // happens with libc++ only
2829

2930
#define PICOJSON_USE_INT64
3031
#include <picojson.h>
3132

33+
//SUPPRESS_WARNING_CLANG_POP
3234
SUPPRESS_WARNING_CLANG_POP
3335
SUPPRESS_WARNING_CLANG_POP
3436
SUPPRESS_WARNING_CLANG_POP

0 commit comments

Comments
 (0)