This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22540] No access to public static members/functions of privately inherited base class
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2005 23:58:42 -0000
- Subject: [Bug c++/22540] No access to public static members/functions of privately inherited base class
- References: <20050717231538.22540.mdweb@web.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-17 23:58 -------
4.1 is correct.
private inherited base class means make that class's field all private in the class, even if they were
public to begin with.
>From 3.4.0 and above correctly rejects this code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords| |accepts-invalid
Resolution| |INVALID
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22540