This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8045: Missing "unused variable" warning
- From: bangerth at dealii dot org
- To: austern at apple dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 22 Nov 2002 21:50:06 -0000
- Subject: Re: c++/8045: Missing "unused variable" warning
- Reply-to: bangerth at dealii dot org, austern at apple dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Missing "unused variable" warning
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Fri Nov 22 13:50:04 2002
State-Changed-Why:
Confirmed. If I replace the variable declarations by
struct X c;
and compile it with the C front end, I get the warning
for both variables, by the way.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8045