c++/7288: Base and derived class don't agree on base class variables
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Fri Jul 12 12:56:00 GMT 2002
Synopsis: Base and derived class don't agree on base class variables
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Jul 12 12:55:21 2002
State-Changed-Why:
not a bug. You are assuming that the shm_object base class
lives at the start of the derived object. In general,
that is untrue. In particular it is untrue in the 3.0 ABI
for the non-polymorphic bases of a polymorphic class.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7288
More information about the Gcc-bugs
mailing list