mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
fix compile on clang 3.7 (nw)
This commit is contained in:
parent
366ee9b4b1
commit
1af304131e
@ -296,6 +296,16 @@ project "7z"
|
||||
uuid "ad573d62-e76a-4b11-ae34-5110a6789a42"
|
||||
kind "StaticLib"
|
||||
|
||||
local version = str_to_version(_OPTIONS["gcc_version"])
|
||||
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
|
||||
configuration { "gmake" }
|
||||
if (version >= 30700) then
|
||||
buildoptions {
|
||||
"-Wno-shift-negative-value",
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
configuration { "vs*" }
|
||||
buildoptions {
|
||||
"/wd4100", -- warning C4100: 'xxx' : unreferenced formal parameter
|
||||
|
Loading…
Reference in New Issue
Block a user