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