contrib: filter out -Wc++20-extensions
authorMartin Liska <mliska@suse.cz>
Tue, 23 Nov 2021 07:36:54 +0000 (08:36 +0100)
committerMartin Liska <mliska@suse.cz>
Tue, 23 Nov 2021 07:36:54 +0000 (08:36 +0100)
contrib/ChangeLog:

* filter-clang-warnings.py: Filter -Wc++20-extensions as it does
not respect proper attribute detection.

contrib/filter-clang-warnings.py

index 361a5c6..345d015 100755 (executable)
@@ -38,7 +38,7 @@ def skip_warning(filename, message):
                  'when in C++ mode, this behavior is deprecated',
                  '-Wignored-attributes', '-Wgnu-zero-variadic-macro-arguments',
                  '-Wformat-security', '-Wundefined-internal',
-                 '-Wunknown-warning-option'],
+                 '-Wunknown-warning-option', '-Wc++20-extensions'],
             'insn-modes.c': ['-Wshift-count-overflow'],
             'insn-emit.c': ['-Wtautological-compare'],
             'insn-attrtab.c': ['-Wparentheses-equality'],