From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b409c05c62ab5a6a X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-20 21:27:08 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!EU.net!sunic!trane.uninett.no!astfgl.edb.tih.no!astfgl.edb.tih.no!bjornw From: bjornw@oversoul.edb.tih.no (Bjorn Wennberg) Newsgroups: comp.unix.osf.osf1 Subject: Re: [Q] V2.0 cc known bug? Date: 20 Sep 1994 10:07:37 GMT Organization: HiST - H�gskolesenteret i S�r-Tr�ndelag Message-ID: References: <35k0g3$c54@mrnews.mro.dec.com> NNTP-Posting-Host: oversoul.edb.tih.no In-reply-to: pbs@zuunix.zuo.dec.com's message of 19 Sep 1994 12:34:11 GMT In article <35k0g3$c54@mrnews.mro.dec.com> pbs@zuunix.zuo.dec.com (Philip Shearer @ZUO-DC EBS-Team) writes: 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)? -- Regards Philip Shearer The switches needed is g+cc :-) > gcc hmm.c hmm.c:3: declaration of `harry' as array of voids hmm.c:3: variable `harry' has initializer but incomplete type hmm.c:6: invalid initializer for `harry' > bjornw> -- ----------------------------------------------------------------------------- bjornw@edb.tih.no - Trondheim College of Engeneering