mirror of
https://github.com/holub/mame
synced 2025-07-06 02:18:09 +03:00
Preliminary support for GCC 11.1 (Fedora 34) [R. Belmont]
This commit is contained in:
parent
78fe4f9702
commit
52e917793b
@ -1132,6 +1132,14 @@ end
|
|||||||
"-Wno-return-local-addr", -- sqlite3.c in GCC 10
|
"-Wno-return-local-addr", -- sqlite3.c in GCC 10
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
if (version >= 110000) then
|
||||||
|
buildoptions {
|
||||||
|
"-Wno-nonnull", -- luaengine.cpp lambdas do not need "this" captured but GCC 11.1 erroneously insists
|
||||||
|
"-Wno-stringop-overread", -- machine/bbc.cpp in GCC 11.1
|
||||||
|
"-Wno-misleading-indentation", -- sqlite3.c in GCC 11.1
|
||||||
|
"-Wno-maybe-uninitialized" -- expat in GCC 11.1
|
||||||
|
}
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user