This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20397] improve diagnostic for 'is inaccessible' error
- From: "s dot franke at bebbosoft dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2010 07:14:41 -0000
- Subject: [Bug c++/20397] improve diagnostic for 'is inaccessible' error
- References: <bug-20397-10237@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from s dot franke at bebbosoft dot de 2010-03-05 07:14 -------
(in reply to comment #8)
> As stated before, if you don't want the locally injected name, use
> ::A instead.
There is no injected name. Using a base class does not declare anything or
inject a name.
Making a base class private restricts the access of the bease class's members.
That's it.
--
s dot franke at bebbosoft dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |s dot franke at bebbosoft
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20397