This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17314] bad error
- From: "igodard at pacbell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2004 19:32:27 -0000
- Subject: [Bug c++/17314] bad error
- References: <20040904040022.17314.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From igodard at pacbell dot net 2004-09-04 19:32 -------
Please read the original report again. I knew that this is an error according to the standard; the complaint is about the error message used to report it, which is confusing and makes no sense. By definition a derived class can reference protected base names, so a message that the name can't be referenced because it is protected makes no sense. The name is in fact private as you point out - but that's not what the message says. This is a quality-of-implementation issue, not a correctness issue.
Ivan
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314