Zero Length Arrays Allowed in C Standard?

Bret Orsburn bret at codonics.COM
Sat Dec 2 06:32:02 AEST 1989


In article <11715 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
>In article <2298 at jato.Jpl.Nasa.Gov> baalke at mars.jpl.nasa.gov (Ron Baalke) writes:
>>are zero length arrays allowed in the ANSI standard for C?
>
>No; Standard C does not support zero-sized objects.
>

Aargh! Whatever happened to "don't break existing code"?!

What was the rationale behind this (IMHO) arbitrary obstruction?




-- 
-------------------
bret at codonics.com
uunet!codonics!bret
Bret Orsburn



More information about the Comp.lang.c mailing list