]> gcc.gnu.org Git - gcc.git/commitdiff
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 361a5c6a09860a0b7e4e4fd5f8c920ad117a91a0..345d015baf661c2613d8a9213fdebe3d925a6d9f 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'],
This page took 0.059357 seconds and 5 git commands to generate.