From 82f2f2f2f9965cc79eec8fdd3d885a5b0bed44d2 Mon Sep 17 00:00:00 2001 From: Alam Ed Arias Date: Thu, 4 Jan 2018 14:29:29 -0500 Subject: [PATCH] SDL: disable check for noreturn --- src/sdl/i_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sdl/i_main.c b/src/sdl/i_main.c index 65b7b5ff..f54f0d7c 100644 --- a/src/sdl/i_main.c +++ b/src/sdl/i_main.c @@ -103,6 +103,10 @@ static inline VOID MakeCodeWritable(VOID) \return int */ +#if defined (__GNUC__) && (__GNUC__ >= 4) +#pragma GCC diagnostic ignored "-Wmissing-noreturn" +#endif + #ifdef FORCESDLMAIN int SDL_main(int argc, char **argv) #else