Re: empty initialisers for arrays of inferred size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/12/10 Krzysztof Żelechowski:
>
> Even if it is, it is undocumented that zero-length arrays need not be struct
> members.

The text says "Zero-length arrays are allowed in GNU C."

It doesn't say they're only allowed in structs.

"They are very useful as the last element of a structure"

Very useful in structs does not mean only valid in structs.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux