[Bug objc/47832] [4.6 Regression] ObjC errors on structures with flexible data members

nicola at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 21 14:35:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832

--- Comment #4 from Nicola Pero <nicola at gcc dot gnu.org> 2011-02-21 14:33:14 UTC ---

> for ObjC I guess it depends if in @interface there are variables (then
> variables with flexible array members in theory could be treated there like ISO
> C99 treats variables), or they are treated as struct fields, in which cases
> fields with flex array members should be rejected

I see your point.  They are struct fields.

Thanks



More information about the Gcc-bugs mailing list