This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Zero-length arrays
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Subject: Re: Zero-length arrays
- From: Richard Henderson <rth at redhat dot com>
- Date: Thu, 4 Jan 2001 09:43:14 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <10101041434.AA09538@vlsi1.ultra.nyu.edu>
On Thu, Jan 04, 2001 at 09:34:11AM -0500, Richard Kenner wrote:
> What *precisely*, are the semantics of this feature.
What you'd expect, really, that you can only initialize them
when they are at the end of a structure.
> Of course there's no way to support returning the proper value here, so I
> think the initializer should produce an error message.
I didn't think of that bit of silliness when writing tests.
I'll fix it.
r~