This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Zero-length arrays


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]