Zero-length arrays

Richard Henderson rth@redhat.com
Thu Jan 4 09:43:00 GMT 2001


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~


More information about the Gcc mailing list