Hernán J. González wrote:
Example:
////////////////////////////////////////////
#include<stdio.h>
int main() {
struct asdasd x;
printf("%d\n", sizeof(x));
}
////////////////////////////////////////////
This should fail cleanly at compile, and it does in 0.9.25 ( "unknown
type size")
In my version ("tcc version 0.9.26 (i386 Win32)") in Win7-64 it crashes.
Should work now:
http://repo.or.cz/w/tinycc.git/commitdiff/69c2e7f96c95ba088657ce8bb9754c12c3e89397
Thanks,
--- grischka
I was hit by this, not by mispelling a struct but because my code was
trying to use a struct from malloc.h (mallinfo) that is not declared
in TCC (which is right, that's a GCC thing)
-----------------------
Hernán
------------------------------------------------------------------------
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel
_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel