Article View: comp.os.ms-windows.programmer.tools.misc
Article #12Re: [Q] Why doesn't this compile?
From: Rob Woerner
Date: Wed, 17 Apr 1996 22:24
Date: Wed, 17 Apr 1996 22:24
14 lines
1059 bytes
1059 bytes
In article <4l3e5l$e1t@druid.borland.com> pete@borland.com (Pete Becker) writes: >In article <317523C0.5042@eps.agfa.be>, rorlic@eps.agfa.be says... >> [snip] >> >>Anybody knows what's wrong with it? > >There's nothing wrong with it. The problem is in your compiler. > -- Pete > I agree. However, you can work around it by declaring L outside of A, and changing the name of B::L to (say) B::W. The way it is has a hidden 'L', inherited from A, but masked by B::L. I think it is confused by the 2 consecutive '::' operators.
Technical Details
Message-ID:
<woernerDq1299.Fup@netcom.com>Path:
arc1-ca.pugleaf.net!netcom.com!woernerReferences:
<317523C0.5042@eps.agfa.be> <4l3e5l$e1t@druid.borland.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.programmer.misc,comp.lang.c++ Path: arc1-ca.pugleaf.net!netcom.com!woerner From: woerner@netcom.com (Rob Woerner) Subject: Re: [Q] Why doesn't this compile? Message-ID: <woernerDq1299.Fup@netcom.com> Organization: Netcom Online Communications Services (408-241-9760 login: guest) References: <317523C0.5042@eps.agfa.be> <4l3e5l$e1t@druid.borland.com> Date: Wed, 17 Apr 1996 22:24:44 GMT Sender: woerner@netcom.netcom.com