mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
Fix clang and one more warning added
This commit is contained in:
parent
9358a61e7a
commit
c869696a3f
2
makefile
2
makefile
@ -175,7 +175,7 @@ CLANG_VERSION:=$(shell %CLANG%\bin\clang --version 2> NUL| head -n 1 | sed "s/[^
|
||||
PYTHON_AVAILABLE:=$(shell python --version > NUL 2>&1 && echo python)
|
||||
else
|
||||
GCC_VERSION:=$(shell gcc -dumpversion 2> /dev/null)
|
||||
CLANG_VERSION:=$(clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | head -n 1)
|
||||
CLANG_VERSION:=$(shell clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | head -n 1)
|
||||
PYTHON_AVAILABLE:=$(shell python --version > /dev/null 2>&1 && echo python)
|
||||
endif
|
||||
|
||||
|
@ -417,6 +417,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user