[Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic

lerdsuwa at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jan 12 10:46:00 GMT 2005


------- Additional Comments From lerdsuwa at gcc dot gnu dot org  2005-01-12 10:46 -------
The bug is simply incorrect error message logic.
The 'protected' comes from the point that 'A::i' is
declared, not the actual access computed.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377



More information about the Gcc-bugs mailing list