Disable class-memaccess error to fix builds on Ubuntu with newer versions of GCC
Based on SgtVincent's suggestion here: https://github.com/recastnavigation/recastnavigation/issues/497#issuecomment-1293318731 Fixes #497
This commit is contained in:
parent
0d1cbd3d67
commit
d576e71b25
@ -76,7 +76,7 @@ project "Detour"
|
||||
-- linux library cflags and libs
|
||||
filter {"system:linux", "action:gmake"}
|
||||
buildoptions {
|
||||
"-Wno-class-memaccess"
|
||||
"-Wno-error=class-memaccess"
|
||||
}
|
||||
|
||||
project "DetourCrowd"
|
||||
@ -155,7 +155,7 @@ project "RecastDemo"
|
||||
"`pkg-config --cflags gl`",
|
||||
"`pkg-config --cflags glu`",
|
||||
"-Wno-ignored-qualifiers",
|
||||
"-Wno-class-memaccess"
|
||||
"-Wno-error=class-memaccess"
|
||||
|
||||
}
|
||||
linkoptions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user