[Bug c/87806] Option -Wall should warn about unused structs, typdefs, enums, etc
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 30 10:27:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87806
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Ulrich Windl from comment #0)
> BTW: With having option -Wmissing-field-initializers I could even imagine to
> warn about single fields that are never used.
Again, this seems like a bad idea. I shouldn't have to use every member of a
struct in every file to avoid warnings from -Wall.
More information about the Gcc-bugs
mailing list