summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/dumplibs_unittest.cc')
-rw-r--r--src/utils/dumplibs_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/dumplibs_unittest.cc b/src/utils/dumplibs_unittest.cc
index 66a272b8e..eb163aa7b 100644
--- a/src/utils/dumplibs_unittest.cc
+++ b/src/utils/dumplibs_unittest.cc
@@ -25,6 +25,8 @@
#include "utils/delete2.h"
#include "utils/stringutils.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_image.h>
#include <SDL_mixer.h>
PRAGMACLANG6GCC(GCC diagnostic push)
@@ -32,6 +34,8 @@ PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6GCC(GCC diagnostic pop)
#include <SDL_ttf.h>
+#pragma GCC diagnostic pop
+
#include <zlib.h>
#include "debug.h"