From 590b28c08b0ebfb17bede0fb785866eaa532f05b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 13 Feb 2014 23:14:00 +0100 Subject: build: disable clang's tautological compare warnings [2] Fixup 8009646583d523fc0. --- waftools/detections/compiler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'waftools') diff --git a/waftools/detections/compiler.py b/waftools/detections/compiler.py index 82aa93b698..f9d711ddb0 100644 --- a/waftools/detections/compiler.py +++ b/waftools/detections/compiler.py @@ -25,13 +25,13 @@ 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" ] def __add_clang_flags__(ctx): - ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics"] + ctx.env.CFLAGS += ["-Wno-logical-op-parentheses", "-fcolor-diagnostics", + "-Wno-tautological-compare", + "-Wno-tautological-constant-out-of-range-compare" ] def __add_mingw_flags__(ctx): ctx.env.CFLAGS += ['-D__USE_MINGW_ANSI_STDIO=1'] -- cgit v1.2.3