aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools
diff options
context:
space:
mode:
authorGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2014-02-13 23:14:00 +0100
committerGravatar Stefano Pigozzi <stefano.pigozzi@gmail.com>2014-02-13 23:16:12 +0100
commit590b28c08b0ebfb17bede0fb785866eaa532f05b (patch)
treef8775eff31e1110d78081c6025f5993e95b4a7a3 /waftools
parent2a2dfd232707ae05254cd0dcb75aac933e9fcf7d (diff)
build: disable clang's tautological compare warnings [2]
Fixup 8009646583d523fc0.
Diffstat (limited to 'waftools')
-rw-r--r--waftools/detections/compiler.py6
1 files changed, 3 insertions, 3 deletions
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']