From c40188c796f089f89a42e0b939d934178dbcfc5c Mon Sep 17 00:00:00 2001 From: cypheron <--author=cypheron cyberfriday@protonmail.com> Date: Thu, 9 May 2019 01:49:54 +0200 Subject: [PATCH] Permit false positive compile errors (gcc8) --- RecastDemo/premake5.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/RecastDemo/premake5.lua b/RecastDemo/premake5.lua index d2a6343..8c218dd 100644 --- a/RecastDemo/premake5.lua +++ b/RecastDemo/premake5.lua @@ -73,6 +73,12 @@ project "Detour" "../Detour/Include/*.h", "../Detour/Source/*.cpp" } + -- linux library cflags and libs + configuration { "linux", "gmake" } + buildoptions { + "-Wno-error=class-memaccess" + } + project "DetourCrowd" language "C++" @@ -148,7 +154,10 @@ project "RecastDemo" buildoptions { "`pkg-config --cflags sdl2`", "`pkg-config --cflags gl`", - "`pkg-config --cflags glu`" + "`pkg-config --cflags glu`", + "-Wno-ignored-qualifiers", + "-Wno-error=class-memaccess" + } linkoptions { "`pkg-config --libs sdl2`",