Fix clang and one more warning added

This commit is contained in:
Miodrag Milanovic 2015-03-26 10:20:29 +01:00
parent 9358a61e7a
commit c869696a3f
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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