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

2018-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80140

Eric Gallager  changed:

   What|Removed |Added

 CC||dmalcolm at gcc dot gnu.org

--- Comment #3 from Eric Gallager  ---
(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

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

2018-05-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80140

Eric Gallager  changed:

   What|Removed |Added

Summary|missing |missing
   |-Wignored-attributes on |-Wignored-attributes on
   |function arguments  |function arguments; can
   ||lead to spurious
   ||-Wunused-parameter or
   ||-Wreturn-type

--- Comment #2 from Eric Gallager  ---
adding other warnings this bug provokes to the title

[Bug c++/80140] missing -Wignored-attributes on function arguments

2017-08-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80140

Eric Gallager  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-08-23
 CC||egallager at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Eric Gallager  ---
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.