This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/20397] improve diagnostic for 'is inaccessible' error



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]