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 committed 2014-02-13 22:43:17 +01:00
1 parent 2705c66799
commit 8009646583
1 file changed
+2
+2
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" ]