The error must be earlier in your code. I included the macro in a simple
C program and it compiled and ran OK.

> Message: 1
> Date: Wed, 21 Mar 2007 10:46:14 +0800
> From: " ??? " <[EMAIL PROTECTED]>
> Subject: [Tinycc-devel] (no subject)
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="utf-8"
> 
> when i want to use tcc to compile lwc(Lightweight
> C++<http://students.ceid.upatras.gr/%7Esxanth/lwc/>)
> appear below message
> "lex.c:XXX: ';' expected" i am use tcc 0.9.23
> whether is the problem to tcc parse below sentence ?
> <code>
> #define SAVE_VAR(x, y) __typeof__(x) _tmp_ ## x = x;x = y
> </code>
> it work well to gcc4.0.3
> -- 
> sguzwf




_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to