diff options
Diffstat (limited to 'coreconf/werror.py')
-rw-r--r-- | coreconf/werror.py | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/coreconf/werror.py b/coreconf/werror.py index 0e2d41c63..2f622c5e1 100644 --- a/coreconf/werror.py +++ b/coreconf/werror.py @@ -49,9 +49,29 @@ def main(): # clang is unable to handle glib's expansion of strcmp and similar for # optimized builds, so disable the resulting errors. # See https://llvm.org/bugs/show_bug.cgi?id=20144 - for w in ['array-bounds', 'unevaluated-expression', - 'parentheses-equality']: + for w in ['array-bounds', + 'unevaluated-expression', + 'parentheses-equality', + 'tautological-type-limit-compare', + 'sign-compare', + 'comma', + 'implicit-fallthrough' + ]: set_warning(w, 'no-') + for w in ['tautological-constant-in-range-compare', + 'bitfield-enum-conversion', + 'empty-body', + 'format-type-confusion', + 'ignored-qualifiers', + 'pointer-arith', + 'type-limits', + 'unreachable-code', + 'unreachable-code-return', + 'duplicated-cond', + 'logical-op', + 'implicit-function-declaration' + ]: + set_warning(w,'') print('-Qunused-arguments') set_warning('shadow') |