Article View: comp.os.ms-windows.programmer.tools.misc
Article #11Re: [Q] Why doesn't this compile?
From: Ranko Orlic
Date: Thu, 18 Apr 1996 07:17
Date: Thu, 18 Apr 1996 07:17
16 lines
1129 bytes
1129 bytes
> ... You can't call A::L::f because it is not a static function ... > ... A::L::f requires that f is a static function ... > > -- > Chris Hill > hillca@cs.purdue.edu Hi Chris, According to me you did not understand the error message completely. The compiler incorrectly thinks that B::L::f is a static member function. The code IS perfectly legal. The compiler simply does not work properly. Thanks for your response, I really appreciate it. -- Ranko.
Technical Details
Message-ID:
<3175EC88.3C73@eps.agfa.be>Path:
arc1-ca.pugleaf.net!garfield.eps.agfa.be!lvhoofReferences:
<317523C0.5042@eps.agfa.be> <4l3hlj$6qt@mozo.cc.purdue.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!garfield.eps.agfa.be!lvhoof From: Ranko Orlic <rorlic@eps.agfa.be> Newsgroups: comp.os.ms-windows.programmer.tools.misc,comp.os.ms-windows.programmer.win32,comp.os.ms-windows.programmer.misc,comp.lang.c++ Subject: Re: [Q] Why doesn't this compile? Date: Thu, 18 Apr 1996 09:17:28 +0200 Organization: Agfa-Gevaert NV. Message-ID: <3175EC88.3C73@eps.agfa.be> References: <317523C0.5042@eps.agfa.be> <4l3hlj$6qt@mozo.cc.purdue.edu> NNTP-Posting-Host: brussels.eps.agfa.be Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 2.0 (WinNT; I) To: Chris Hill <hillca@cs.purdue.edu>