We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-Wpragmas
1 parent f400d04 commit 690aab5Copy full SHA for 690aab5
lib/xml.h
@@ -22,7 +22,9 @@
22
#include "config.h"
23
#include "path.h"
24
25
+#if defined(__GNUC__) && (__GNUC__ >= 14)
26
SUPPRESS_WARNING_GCC_PUSH("-Wsuggest-attribute=returns_nonnull")
27
+#endif
28
SUPPRESS_WARNING_CLANG_PUSH("-Wzero-as-null-pointer-constant")
29
SUPPRESS_WARNING_CLANG_PUSH("-Wsuggest-destructor-override")
30
SUPPRESS_WARNING_CLANG_PUSH("-Winconsistent-missing-destructor-override")
@@ -34,7 +36,9 @@ SUPPRESS_WARNING_CLANG_POP
34
36
SUPPRESS_WARNING_CLANG_POP
35
37
38
39
40
SUPPRESS_WARNING_GCC_POP
41
42
43
inline static tinyxml2::XMLError xml_LoadFile(tinyxml2::XMLDocument& doc, const char* filename)
44
{
0 commit comments