Zero Length Arrays Allowed in C Standard?DOWN
c9h at psuecl.bitnet
c9h at psuecl.bitnet
Fri Dec 8 07:32:07 AEST 1989
There is a generic problem with zero-sized arrays that everyone seems to
be ignoring: I see nowhere a definition of what *order* C is to store
variables in. Even the use a previously mentioned as being valid -- using
it to change the size of a malloc'd structure to allocate space for an
array of the size needed -- would be affected by this.
Am I overlooking something, or is storage order actually undefined?
--
- Charles Martin Hannum II "Klein bottle for sale ... inquire within."
(That's Charles to you!) "To life immortal!"
c9h at psuecl.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..."
cmh117 at psuvm.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."
More information about the Comp.lang.c
mailing list