Yes, you are right. But then the TCC compiler have to complain about the
declarations like
int b[][] = { {1, 2}, {3, 4} };
But now the TCC compiler compiles this construct without errors !!!
Alex.
Regards.
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im
Auftrag von Daniel Gloeckner
Gesendet: Dienstag, 3. Februar 2009 11:17
An: [email protected]
Betreff: Re: [Tinycc-devel] Memory allocation and initialization of arrays
withdimension % 2 = 0
> int b[][] =3D { { 5, 6 }, { 7 , 8 } };
I don't think it is valid to define an array with more than the first dimension
being unspecified.
type_size resulting in a negative value signifies that the type is incomplete.
Daniel
--
Jetzt 1 Monat kostenlos! GMX FreeDSL - Telefonanschluss + DSL für nur 17,95
Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel