Pascal Cuoq wrote:
int t[][3]; [ error: unknown type size ]
Actually that is not wrong. It's the same as
extern int t[][3];
MSVC accepts it without warning, and GCC too if either 'extern' or
the size is still specified:
int t[][3];
extern int t[][3];
or
int t[][3] = {{1,2,3}};
I'v pushed a patch that does allow that (among other things ;)
https://repo.or.cz/tinycc.git/commitdiff/85690480313c4a8b0efeb3761ee68456cfe57840
W.r.t. changes on VT_EXTERN, they were originally based on the idea
that I wanted the distinction between definition and declaration to
be provided on the Sym level (rather than the ESym one).
-- gr
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel