[Bug c++/80140] missing -Wignored-attributes on function arguments; can lead to spurious -Wunused-parameter or -Wreturn-type

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 23 03:31:00 GMT 2018


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org

--- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #1)
> Confirmed. Also the location info for the one where it does print a
> -Wattributes warning could be improved, too, to underline the whole
> attribute rather than just a closing parenthesis.

I think David Malcolm was doing something with the diagnostics systems that
might be related to that part recently? cc-ing him


More information about the Gcc-bugs mailing list