[Bug c++/17314] bad error

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Sat Sep 4 19:32:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list