Path: 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 >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 ===============================================================================