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
|
-- linux library cflags and libs
|
||||||
filter {"system:linux", "action:gmake"}
|
filter {"system:linux", "action:gmake"}
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-Wno-class-memaccess"
|
"-Wno-error=class-memaccess"
|
||||||
}
|
}
|
||||||
|
|
||||||
project "DetourCrowd"
|
project "DetourCrowd"
|
||||||
@ -155,7 +155,7 @@ project "RecastDemo"
|
|||||||
"`pkg-config --cflags gl`",
|
"`pkg-config --cflags gl`",
|
||||||
"`pkg-config --cflags glu`",
|
"`pkg-config --cflags glu`",
|
||||||
"-Wno-ignored-qualifiers",
|
"-Wno-ignored-qualifiers",
|
||||||
"-Wno-class-memaccess"
|
"-Wno-error=class-memaccess"
|
||||||
|
|
||||||
}
|
}
|
||||||
linkoptions {
|
linkoptions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user