This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 15 Apr 2012 17:09:04 +0000
- Subject: [Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic
- Auto-submitted: auto-generated
- References: <bug-19377-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #5 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-04-15 17:09:04 UTC ---
(In reply to comment #4)
>
> The problem seems to be that we do not have the information that 'i' is
> referenced through 'this' when checking the access in accessible_p, unless I'm
> missing something.
>
> Any idea where to find this information ?
You should write to Jason directly, as he is probably the only person in the
world that understands the C++ FE well enough to answer this.
(And am I the only one who thinks this is REALLY bad for the future of g++?)