[Bug c++/105377] Likely a misleading clang warning -Wc++20-attribute-extensions

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 20:25:01 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105377

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Yes, it is an extension, but if the compiler doesn't recognize it, it
> shouldn't do anything with it.  So it is just fine to use it...

I agree with that and I'm going to silente the warning in
contrib/filter-clang-warnings.py.


More information about the Gcc-bugs mailing list