Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uwm.edu!psuvax1!psuvm!psuecl!c9h From: c9h@psuecl.bitnet Newsgroups: comp.lang.c Subject: Re: Zero Length Arrays Allowed in C Standard?DOWN Message-ID: <70691@psuecl.bitnet> Date: 7 Dec 89 20:32:07 GMT References: <480@codonics.COM> <2678@cbnewsj.ATT.COM> Organization: Engineering Computer Lab, Pennsylvania State University Lines: 12 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@psuecl.{bitnet,psu.edu} "No noozzzz izzz netzzzsnoozzzzz..." cmh117@psuvm.{bitnet,psu.edu} "Mem'ry, all alone in the moonlight ..."