From dda65b8fb01ac399af8fa44085db3cd9ab6cef2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 28 Apr 2016 19:32:40 +0300 Subject: Add workaround for fix compilation warnings in SDL2. --- src/utils/sdl2helper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils/sdl2helper.h') diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index d1b918b51..7cf471542 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -24,6 +24,10 @@ #ifdef USE_SDL2 #include "utils/stringvector.h" +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wswitch-default" +#include +#pragma GCC diagnostic pop #include #include "localconsts.h" -- cgit v1.2.3-60-g2f50