From 407231a12ffab369e13f030e88ee1d105da2b7d2 Mon Sep 17 00:00:00 2001 From: Syping Date: Tue, 24 Sep 2019 17:33:15 +0200 Subject: [PATCH] add GCC 8 support --- src/luaengine/luaengine.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/luaengine/luaengine.pro b/src/luaengine/luaengine.pro index b5f1002..c4f61f6 100644 --- a/src/luaengine/luaengine.pro +++ b/src/luaengine/luaengine.pro @@ -26,6 +26,8 @@ shared: win32: DEFINES += LUA_BUILD_AS_DLL static: DEFINES += LUAENGINE_STATIC linux: DEFINES += LUA_USE_LINUX +gcc: QMAKE_CFLAGS += -Wno-cast-function-type + SOURCES += \ luaengine/LuaEngine.cpp