This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2004 15:56:28 -0000
- Subject: [Bug c++/17393] [3.4/4.0 Regression] "unused variable '._0'" warning with -Wall
- References: <20040910122209.17393.timoe@cs.tut.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-09-10 15:56 -------
That's related to the new parser. The problem with the warning is
that gcc tries to make some sense out of your wrong code and
introduces an unnamed variable for something it tried on the broken
declaration, and this unnamed variable is later found to be unused.
I wouldn't rate this as a regression: we give a sensible error message,
and this is a follow-up error. It could be rated as error-recovery. If
it were just me, I would close this PR as WONTFIX, but I leave this
to others.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17393