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 18:00:41 -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 18:00 -------
Well, the error messages changed from
pr17393.cc: In function `void foo()':
pr17393.cc:5: error: parse error before `=' token
to
foo.cc:5: error: abstract declarator `A&' used as declaration
foo.cc:5: error: `a' undeclared (first use this function)
foo.cc:5: error: (Each undeclared identifier is reported only once for each
function it appears in.)
I don't know which is better or worse. The warning about the unused
variable is just a follow-up that most people will very likely
ignore when they see the first error.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17393