This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52961] Missing warning on empty if
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Apr 2012 23:23:00 +0000
- Subject: [Bug c++/52961] Missing warning on empty if
- Auto-submitted: auto-generated
- References: <bug-52961-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52961
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu.org,
| |jason at gcc dot gnu.org,
| |manu at gcc dot gnu.org
--- Comment #4 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-04-12 23:23:00 UTC ---
I think that particular warning should be default (not -Wempty-body, but the
warning about the if();).
@Jason, Gabriel, do you agree?