[Bug c/49053] Please add an option to catch empty statements (-Wempty-statement ?)
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 27 19:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49053
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|WAITING |RESOLVED
CC| |egallager at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Manuel López-Ibáñez from comment #1)
> Sorry, I don't understand what bug this is catching. ";;" is inoffensive. My
> fear is that this will trigger a lot for non-buggy code precisely because of
> conditional macro expansion.
Yeah I do this sometimes on purpose, closing as WONTFIX
More information about the Gcc-bugs
mailing list