[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] TCC 0.9.13
From: |
Fabrice Bellard |
Subject: |
Re: [Tinycc-devel] TCC 0.9.13 |
Date: |
Sun, 3 Nov 2002 23:55:24 +0100 |
User-agent: |
Mutt/1.2.5i |
Thank you. I put them in the TODO list, so hopefully these two bugs
will be fixed in the 0.9.14 release.
Fabrice.
On Sun, Nov 03, 2002 at 12:53:18PM -0800, s duclos wrote:
> Salut Fabrice,
>
> Including an empty file (zero byte) put tcc
> in an infite loop.
>
> Also tcc stop where gcc emit a warning for a
> suspicious type cast:
>
> // t4.c
> void f(int* p){}
> main(){ int i; f(i);}
>
> %gcc -c t4.c
> t4.c: In function `main':
> t4.c:2: warning: passing arg 1 of `f' makes pointer
> from integer without a cast
>
> %tcc -c t4.c
> t4.c:2: cannot cast 'int' to 'int *'
>
>
> Thanks,
>
> Sylvain.