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: 24 Jul 2003 09:59:45 -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|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From nathan at gcc dot gnu dot org 2003-07-24 09:59 -------
not a bug. This line
MenuDevice** globalMenuDevice = (MenuDevice**) &globalMenuLeft;
contains a reinterpret cast. Your program is effectively doing what I said
in comment 3, and thus is invalid