mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Apple calls llvm/clang 10 Xcode 12, update warning flags.
This commit is contained in:
parent
37c4696b82
commit
3a3e83d6b2
@ -1082,7 +1082,7 @@ end
|
||||
"-Wno-pragma-pack" -- clang 6.0 complains when the packing change lifetime is not contained within a header file.
|
||||
}
|
||||
end
|
||||
if (version >= 100000) and (_OPTIONS["targetos"] ~= 'macosx') then -- TODO when Xcode includes clang 10, update this to detect the vanity version number
|
||||
if ((version >= 100000) and (_OPTIONS["targetos"] ~= 'macosx')) or (version >= 120000) then
|
||||
buildoptions {
|
||||
"-Wno-xor-used-as-pow " -- clang 10.0 complains that expressions like 10 ^ 7 look like exponention
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user