From f3b954ba6e49a8aaec8c2c9e9d4693694adb427d Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 15 May 2017 18:47:00 +0200 Subject: [PATCH] Fix remaining GCC 7.1 issue (nw) --- src/frontend/mame/luaengine.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h index dfc860f21e5..e3f8d5ee93d 100644 --- a/src/frontend/mame/luaengine.h +++ b/src/frontend/mame/luaengine.h @@ -17,6 +17,10 @@ #ifndef __LUA_ENGINE_H__ #define __LUA_ENGINE_H__ +#if defined(__GNUC__) && (__GNUC__ > 6) +#pragma GCC diagnostic ignored "-Wnoexcept-type" +#endif + #include #include #define SOL_SAFE_USERTYPE