add this for all gcc versions (nw)

This commit is contained in:
Miodrag Milanovic 2015-03-26 11:56:52 +01:00
parent ca485faa1b
commit 362404cb5c

View File

@ -407,6 +407,10 @@ configuration { }
}
end
else
buildoptions {
"-Wno-unused-result",
}
if (version >= 40700) then
buildoptions {
"-Wno-narrowing",
@ -417,7 +421,6 @@ configuration { }
-- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
buildoptions {
"-Wno-unused-variable",
"-Wno-unused-result",
"-Wno-array-bounds"
}
end