[Bug c++/11570] incorrect behaviour in calling base class methods
nathan at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 24 09:59:00 GMT 2003
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
More information about the Gcc-bugs
mailing list