wrong excess elements warning

Richard Henderson rth@cygnus.com
Wed Nov 1 14:30:00 GMT 2000


On Wed, Nov 01, 2000 at 10:23:58AM -0800, Ulrich Drepper wrote:
> Arrays of Zero Length are a documented and often used gcc extension.

Correct, but not _initialized_ zero length arrays.

This was never documented to work in gcc (and in fact didn't work in
some cases).  Since C99 disallows this construct, I think we should
disallow it as well.


r~


More information about the Gcc-bugs mailing list