------- Comment #4 from joseph at codesourcery dot com 2009-03-05 13:53 ------- Subject: Re: sizeof object with zero-length array ignores initializer
On Thu, 5 Mar 2009, ebotcazou at gcc dot gnu dot org wrote: > ------- Comment #3 from ebotcazou at gcc dot gnu dot org 2009-03-05 13:31 > ------- > > No, the case is an extension to C. 6.5.3.4 was obviously written without > > this > > case in mind. > > Not at all, see 6.7.2.1 (16): Standard C does not permit initializing the flexible array member. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39383