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-17 22:55:09 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!swrinde!ihnp4.ucsd.edu!library.ucla.edu!news.mic.ucla.edu!unixg.ubc.ca!quartz.ucs.ualberta.ca!news From: jmack@skye.phys.ualberta.ca Newsgroups: comp.sys.dec Subject: Re: Compiler bug in DEC C++??? (supplemented) Date: 18 Jun 1994 05:48:39 GMT Organization: Computer and Network Services, U of Alberta, Edmonton, Canada Message-ID: <2tu1rn$hk9@quartz.ucs.ualberta.ca> References: <00980183.222116ED.7923@indmath.uni-linz.ac.at> NNTP-Posting-Host: skye.phys.ualberta.ca 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 -- James S. MacKinnon Office: P-139 Avahd-Bhatia Physics Lab Computing/Networking Phone : (403) 492-8226 Department of Physics email : jmack@phys.ualberta.ca University of Alberta uucp : uofaphys!jmack iskye!jmack Edmonton, Canada T6G 2N5 bitnet: jmack@triumfcl jsm1@ualtamts