This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17314] Error message wrongly shows declared rather than inherited access
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 May 2013 13:00:06 +0000
- Subject: [Bug c++/17314] Error message wrongly shows declared rather than inherited access
- Auto-submitted: auto-generated
- References: <bug-17314-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17314
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> ---
If I understand correctly the issue, saying in enforce_access something like
"A::A(), declared protected, is inaccessible within this context" instead of
"A::A() is protected within this context" would be less confusing.