From: neideck@nestvx.enet.dec.com (Burkhard Neidecker-Lutz)
Subject: Re: [Q] V2.0 cc known bug?
Date: 20 Sep 1994 14:57:29 GMT [thread overview]
Message-ID: <35mt8pINNf9v@usenet.pa.dec.com> (raw)
In-Reply-To: BJORNW.94Sep20120737@oversoul.edb.tih.no
In article <BJORNW.94Sep20120737@oversoul.edb.tih.no> 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
next prev parent reply other threads:[~1994-09-20 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-19 12:34 [Q] V2.0 cc known bug? Philip Shearer @ZUO-DC EBS-Team
1994-09-20 10:07 ` Bjorn Wennberg
1994-09-20 14:57 ` Burkhard Neidecker-Lutz [this message]
1994-09-20 15:00 ` Greg Lueck Development Environment
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox