http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
m...@gcc.gnu.org mrs at gcc dot gnu.org changed:
What|Removed |Added
CC||mrs at gcc dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
Nicola Pero nicola at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
--- Comment #1 from Nicola Pero nicola at gcc dot gnu.org 2011-02-21 10:37:10
UTC ---
Hi Jakub,
@interface T
{
struct S *u;
};
@end
struct S * is a pointer, right ? So it's always the size of a pointer ?
In that case, I don't see any
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
Nicola Pero nicola at gcc dot gnu.org changed:
What|Removed |Added
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2011-02-21
12:02:58 UTC ---
As I said, I don't know ObjC, so if you could fix it, I'd appreciate it.
That said, ISO C99 allows:
struct A { int a; char b[]; };
struct A a; // Here
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47832
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Priority|P2 |P4
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