This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/15531] dynamic_cast fails (at runtime) when dependant on friendship of invoker
- From: "gccbugs at contacts dot eelis dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2004 23:32:15 -0000
- Subject: [Bug c++/15531] dynamic_cast fails (at runtime) when dependant on friendship of invoker
- References: <20040518232016.15531.gccbugs@contacts.eelis.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gccbugs at contacts dot eelis dot net 2004-05-18 23:32 -------
Which access control are you referring to?
main() has been granted friendship by Derived, and in the snippet even creates a
Derived instance.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15531