0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

build: disable clang's tautological compare warnings

This silences two non issues in the client.c file. Fixing them as clang would
want us to, would introduce security bugs and potential crashes.
This commit is contained in:
Stefano Pigozzi 2014-02-13 22:40:29 +01:00
parent 2705c66799
commit 8009646583

View File

@ -25,6 +25,8 @@ def __add_gcc_flags__(ctx):
"-Wno-switch", "-Wno-parentheses", "-Wpointer-arith",
"-Wredundant-decls", "-Wno-pointer-sign",
"-Werror=implicit-function-declaration",
"-Wno-tautological-compare",
"-Wno-tautological-constant-out-of-range-compare",
"-Wno-error=deprecated-declarations",
"-Wno-error=unused-function" ]