This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32205] "defined but not used" warning given or not depending on other errors
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jun 2007 21:48:50 -0000
- Subject: [Bug c++/32205] "defined but not used" warning given or not depending on other errors
- References: <bug-32205-12203@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-06 21:48 -------
The main reason why is that we don't process the initializer for foo if we get
an error.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32205