This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49053] Please add an option to catch empty statements (-Wempty-statement ?)
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 27 Jul 2017 19:54:39 +0000
- Subject: [Bug c/49053] Please add an option to catch empty statements (-Wempty-statement ?)
- Auto-submitted: auto-generated
- References: <bug-49053-4@http.gcc.gnu.org/bugzilla/>
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