------- Comment #2 from pinskia at gcc dot gnu dot org 2005-12-12 20:41 ------- This is not what the documention says. It is talking about global variables and not a local ones. "Instead GCC allows static initialization of flexible array members. "
Your example is not static initilzating of the a struct. Reference: http://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html#Zero-Length -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25334