add GCC 8 support

This commit is contained in:
Syping 2019-09-24 17:33:15 +02:00
parent a195e0e5b3
commit 407231a12f

View file

@ -26,6 +26,8 @@ shared: win32: DEFINES += LUA_BUILD_AS_DLL
static: DEFINES += LUAENGINE_STATIC static: DEFINES += LUAENGINE_STATIC
linux: DEFINES += LUA_USE_LINUX linux: DEFINES += LUA_USE_LINUX
gcc: QMAKE_CFLAGS += -Wno-cast-function-type
SOURCES += \ SOURCES += \
luaengine/LuaEngine.cpp luaengine/LuaEngine.cpp