mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
removed implict usage of "nullability" from SANITIZE=undefined (nw)
This commit is contained in:
parent
f911ab2869
commit
e2d7b45434
@ -974,16 +974,13 @@ if _OPTIONS["SANITIZE"] then
|
|||||||
if string.find(_OPTIONS["SANITIZE"], "undefined") then
|
if string.find(_OPTIONS["SANITIZE"], "undefined") then
|
||||||
-- 'function' produces errors without delegates by design
|
-- 'function' produces errors without delegates by design
|
||||||
-- 'alignment' produces a lot of errors which we are not interested in
|
-- 'alignment' produces a lot of errors which we are not interested in
|
||||||
-- 'nullability' errors are not actually undefined behavior but unintentional
|
|
||||||
buildoptions {
|
buildoptions {
|
||||||
"-fno-sanitize=function",
|
"-fno-sanitize=function",
|
||||||
"-fno-sanitize=alignment",
|
"-fno-sanitize=alignment"
|
||||||
"-fsanitize=nullability"
|
|
||||||
}
|
}
|
||||||
linkoptions {
|
linkoptions {
|
||||||
"-fno-sanitize=function",
|
"-fno-sanitize=function",
|
||||||
"-fno-sanitize=alignment",
|
"-fno-sanitize=alignment"
|
||||||
"-fsanitize=nullability"
|
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user