On Mon, Sep 26, 2005 at 02:19:53PM +0400, PerfectDark wrote:
>Just try to compile (tcc -c) following file:
>
>//-------------------------------------------
>//begin
>void foo(SomethingUnknownType* x)
>{
>}
>//end
>//-------------------------------------------
>
>Somehow tcc crushes, and then stackdump file created
I cannot reproduce this. Compiled tcc with current gcc:
$ cat untyped.c
void foo(unknown_t *u){;}
$ ./tcc -c untyped.c ; echo $?
untyped.c:1: ',' expected
1
$ gcc-4.x -c untyped.c ; echo $?
untyped.c:1: error: expected ')' before '*' token
1
perhaps check your bootstrap compiler.
HTH,
Bernhard
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel