Skip to content

Commit cef2dbc

Browse files
committed
xml.h: suppressed -Wformat warning
1 parent a1537c8 commit cef2dbc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/xml.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
SUPPRESS_WARNING_CLANG_PUSH("-Wzero-as-null-pointer-constant")
2626
SUPPRESS_WARNING_CLANG_PUSH("-Wsuggest-destructor-override")
2727
SUPPRESS_WARNING_CLANG_PUSH("-Winconsistent-missing-destructor-override")
28+
//SUPPRESS_WARNING_CLANG_PUSH("-Wformat") // happens with libc++ only
2829

2930
#include <tinyxml2.h> // IWYU pragma: export
3031

32+
//SUPPRESS_WARNING_CLANG_POP
3133
SUPPRESS_WARNING_CLANG_POP
3234
SUPPRESS_WARNING_CLANG_POP
3335
SUPPRESS_WARNING_CLANG_POP

0 commit comments

Comments
 (0)