[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] type cast prob.
From: |
s duclos |
Subject: |
[Tinycc-devel] type cast prob. |
Date: |
Tue, 5 Nov 2002 13:42:50 -0800 (PST) |
Hi,
Got this code after expanding up a macro by hand.
// t5.c
main(){
//int x; // OK
float x;
(int)x = (int)x;
}
$tcc -c t5.c
t5.c:5: lvalue expected
$gcc -c t5.c
$
I know .. it's wierd .. :)
Again this is not the real code but some macro
that happen to expand to this sort of construct
at one point!
Another one of those syntactic branch of C I wish I
didn't knew about .. thanks :)
Sylvain.
__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
- [Tinycc-devel] type cast prob.,
s duclos <=