Article View: gnu.g++.bug
Article #422Re: bug with multiple-inheritance variable name conflict
From: Tom Vijlbrief
Date: Thu, 14 Sep 1989 12:59
Date: Thu, 14 Sep 1989 12:59
28 lines
1122 bytes
1122 bytes
>main()
>{
> bottom x;
>
> printf("%d\n", x.a);
>}
I think g++ is right in reporting that x.a is ambigious:
printf("%d\n", x.bottom::top_right::a);
works as expected.
printf("%d\n", x.top_right::a);
does however not work. I'm not so familair with MI so I'm not sure this is
a bug.
Tom
===============================================================================
Tom Vijlbrief
TNO Institute for Perception
P.O. Box 23 Phone: +31 34 63 562 11
3769 ZG Soesterberg E-mail: tnosoes!tom@mcvax.cwi.nl
The Netherlands or: uunet!mcvax!tnosoes!tom
===============================================================================
Technical Details
Message-ID:
<481@tnosoes.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!uunet!mcsun!hp4nl!tnosoes!tomReferences:
<8909140113.AA00938@fast.parc.xerox.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!ginosko!uunet!mcsun!hp4nl!tnosoes!tom From: tom@tnosoes.UUCP (Tom Vijlbrief) Newsgroups: gnu.g++.bug Subject: Re: bug with multiple-inheritance variable name conflict Message-ID: <481@tnosoes.UUCP> Date: 14 Sep 89 12:59:54 GMT References: <8909140113.AA00938@fast.parc.xerox.com> Distribution: gnu Organization: TNO Institute for Perception, Soesterberg, The Netherlands Lines: 28