summaryrefslogtreecommitdiff
path: root/src/maingui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/maingui.cpp')
-rw-r--r--src/maingui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/maingui.cpp b/src/maingui.cpp
index 4561fd427..b2b8dd685 100644
--- a/src/maingui.cpp
+++ b/src/maingui.cpp
@@ -41,8 +41,11 @@
#include <iostream>
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_image.h>
#include <SDL_mixer.h>
+#pragma GCC diagnostic pop
#ifndef SDL_VERSIONNUM
#error missing <SDL_version.h>