From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b409c05c62ab5a6a,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-19 23:21:15 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!nic-nac.CSU.net!charnel.ecst.csuchico.edu!rat!decwrl!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!mrnews.mro.dec.com!zuunix.zuo.dec.com!pbs From: pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team) Newsgroups: comp.unix.osf.osf1 Subject: [Q] V2.0 cc known bug? Date: 19 Sep 1994 12:34:11 GMT Organization: Digital Equipment Corporation - Marlboro, MA Message-ID: <35k0g3$c54@mrnews.mro.dec.com> NNTP-Posting-Host: zuunix.zuo.dec.com X-Newsreader: Tin 1.1 PL3 uname -a OSF1 xxxxxx.xxx.dec.com V2.0 240 alpha (also on) OSF1 xxxxxx.xxx.dec.com V2.1 250 alpha I made a mistake in a piece of code but because of typedefs etc it was difficult to spot. The trouble was that I had missed out a "*" (in front of the harry in the examle below). When trying to compile this piece of code, the compiler never returns, (using trace cc forks a child and waits for the child to return, but the child does not). Is this a known bug and is there a work around (setting switches etc)? /*-----------------------X Cut X-----------------------------------*/ int fred1 = 1 ; void harry[] = /* should have been "void *harry[] =" */ { &fred1 } ; int main(void) { return 0 ; } /*-----------------------X Cut X-----------------------------------*/ -- Regards Philip Shearer Disclaimer: Please note that the above is a personal view and should not be construed as an official comment from DEC. `Then there's no reason why you should know anything about Colonel Jacob Ruppert High School in the Bronx. At Ruppert we use comparative terms, but OUTSTANDING isn't one of them. The range runs more from cooperative to life-threatening' Tom Wolf in "The Bonfire of the Vanities"