This is the mail archive of the
mailing list for the GCC project.
Re: Fix up vla, vm and [*] semantics for C
On May 12, 2006, at 5:29 PM, Neil Booth wrote:
gcc.c-torture/compile/20010605-1.c:7: error: not an ordinary
identifier, structure and unions are not ordinary
This seems a particularly bizarre diagnostic (not unusual in
GCC...) IMO structures and unions are quite ordinary. 8-)
Why not simply say members cannot have variably modified type?
gcc.dg/vla-6.c:22: error: a member of a structure or union cannot
have a variably modified type
I think that sounds better and still uses language from the standard...