This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11570] incorrect behaviour in calling base class methods
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2003 10:22:25 -0000
- Subject: [Bug c++/11570] incorrect behaviour in calling base class methods
- References: <20030718095017.11570.OMS-sero.Project@ict.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11570
nathan at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From nathan at gcc dot gnu dot org 2003-07-18 10:22 -------
Please provide a *self contained* program that can be built.
I suspect you have somewhere done an incorrect base cast via
the following sort of code
class MenuLeft : public Menu, MenuDevice {...};
MenuLeft *ml;
void *v = ml;
MenuDevice *md = static_cast <MenuDevice *> (v);