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: Tue, 09 Oct 2012 17:06:25 +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
--- Comment #8 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-10-09 17:06:25 UTC ---
The problem of default warnings without options is that default warnings are
often the most useful and, hence, the ones that people would like to make an
error with -Werror=. Unfortunately, we don't have a -Werror=default to enable
all of them.