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-21 07:06:08 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!spool.mu.edu!sgiblab!gatekeeper.us.oracle.com!decwrl!pa.dec.com!nestvx.enet.dec.com!neideck From: neideck@nestvx.enet.dec.com (Burkhard Neidecker-Lutz) Newsgroups: comp.unix.osf.osf1 Subject: Re: [Q] V2.0 cc known bug? Date: 20 Sep 1994 14:57:29 GMT Organization: CEC Karlsruhe Message-ID: <35mt8pINNf9v@usenet.pa.dec.com> References: <35k0g3$c54@mrnews.mro.dec.com> NNTP-Posting-Host: BIER In article bjornw@oversoul.edb.tih.no (Bjorn Wennberg) writes: > >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' >> It is a bug in the C front end. One workaround is to use the -migrate switch: tcsh# cc -migrate -c a.c cc: Error: a.c, line 5: In the initializer for harry, an array's element type is incomplete, which precludes its initialization. &fred1 ----^ Burkhard Neidecker-Lutz GLASS Project, CEC Karlsruhe Advanced Technology Group, Digital Equipment Corporation neideck@nestvx.enet.dec.com