From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,37b042cbca0bede1 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-06-20 15:45:25 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!news.cac.psu.edu!news.pop.psu.edu!psuvax1!news.cc.swarthmore.edu!netnews.upenn.edu!msuinfo!harbinger.cc.monash.edu.au!merlin!iwsd01.itwol.bhp.com.au!wewila From: alan@itwol.bhp.com.au Newsgroups: comp.sys.dec Subject: Re: Compiler bug in DEC C++??? (supplemented) Date: 21 Jun 94 08:24:40 +1000 Organization: BHP Information Technology Message-ID: <1994Jun21.082440.1@iwsd01.itwol.bhp.com.au> References: <00980183.222116ED.7923@indmath.uni-linz.ac.at> <2tu1rn$hk9@quartz.ucs.ualberta.ca> NNTP-Posting-Host: iwsd01.itwol.bhp.com.au In article <2tu1rn$hk9@quartz.ucs.ualberta.ca>, jmack@skye.phys.ualberta.ca writes: > In article <00980183.222116ED.7923@indmath.uni-linz.ac.at> > zeisel@indmath.uni-linz.ac.at writes: >> The following code gives a run time error ``access violation'' >> using DEC C++ V1.3-0 on an ALPHA OpenVMS V1.5-1H1 machine, >> but works fine using DEC C++ V1.1-001 on a VAX. >> >> Is this a compiler bug or is there something wrong with my program? >> >> Newsfeed unreliable, please answer also via E Mail. >> Thanx, >> >> Helmut Zeisel zeisel@indmath.uni-linz.ac.at > > Don't think it's your code. It compiles and runs fine with gnu's c++ (2.5.7) > here on a glorious NeXT: > > 25 skye# c++ -o helmut helmut.cc > 26 skye# helmut > (aH->*f)() = 123.45 > (aH->*fct)() = 123.45 > I missed the original posting, but I gather from the output that it refers to a possible bug in DEC C++ V1.3 on Alpha. I found a bug with pointers to member functions a few weeks ago which I am in the process of writing up to send an SPR to DEC. I would be interested to hear of other people's experiences.