summaryrefslogtreecommitdiff
path: root/src/unittests/utils/dumplibs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/dumplibs.cc')
-rw-r--r--src/unittests/utils/dumplibs.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unittests/utils/dumplibs.cc b/src/unittests/utils/dumplibs.cc
index 475b2e371..e7b68e470 100644
--- a/src/unittests/utils/dumplibs.cc
+++ b/src/unittests/utils/dumplibs.cc
@@ -26,10 +26,13 @@ PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_image.h>
#include <SDL_mixer.h>
+PRAGMACLANG5(GCC diagnostic push)
+PRAGMACLANG5(GCC diagnostic ignored "-Wzero-as-null-pointer-constant")
PRAGMACLANG6GCC(GCC diagnostic push)
PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6GCC(GCC diagnostic pop)
+PRAGMACLANG5(GCC diagnostic pop)
#include <SDL_ttf.h>
PRAGMA48(GCC diagnostic pop)