This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16604] Bad diagnostic
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2004 08:39:24 -0000
- Subject: [Bug c++/16604] Bad diagnostic
- References: <20040717082913.16604.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From igodard at pacbell dot net 2004-07-17 08:39 -------
Correction: an additional bug was that "Breaker" should have been "breaker", and the diagnostic should have complained that both Breaker and Ch were undefined. I'm guessing that the appearance of "<namespace>::<identifier>" is considered a using-declaration internally, but syntactically it's a qualified name. A diagnostic that talks about using-declarations is confusing.
Ivan
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16604