Article View: gnu.g++.bug
Article #2075Re: bug caused by multiple inheritance
From: Joseph E. Sacco
Date: Wed, 07 Jun 1989 02:00
Date: Wed, 07 Jun 1989 02:00
15 lines
1133 bytes
1133 bytes
In article <8906051539.AA18913@lri.lri.fr>, chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU writes: > > In the following example, a class B derives from a class A, and a class D derive > from class B and another class C. It seems that the presence of D confuses g++ 1 > when managing simple inheritance of B from A : inherited members are called with > a wrong 'this' address. > Another aspect of the bug is that not only does its existence depend upon the declaration of D but also upon the order in which the parents of D are specified. If that order is reversed the two values of "this" are seen to be identical. Hmmmm ....................! What gives ? JOE
Technical Details
Message-ID:
<49@eileen.samsung.com>Path:
arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!uunet!ginosko!saccoReferences:
<8906051539.AA18913@lri.lri.fr>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!uunet!ginosko!sacco From: sacco@eileen.samsung.com (Joseph E. Sacco) Newsgroups: gnu.g++.bug Subject: Re: bug caused by multiple inheritance Summary: bug dependent upon ordering of parent specification Message-ID: <49@eileen.samsung.com> Date: 7 Jun 89 02:00:24 GMT Article-I.D.: eileen.49 References: <8906051539.AA18913@lri.lri.fr> Distribution: gnu Organization: Mitchell and Gauthier Associates Lines: 15