|
From: | grischka |
Subject: | Re: [Tinycc-devel] new compiler (0.9.26) crashes with undeclared struct |
Date: | Wed, 24 Jul 2013 17:08:36 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |