Re: [Tinycc-devel] Compiling preprocessed files with tinycc?

2013-03-20 Thread Thomas Preud'homme
Le mercredi 20 mars 2013 04:10:28, Austin English a écrit : Howdy, I'm trying to narrow down a file that fails to compile with tinycc, but works with gcc/clang. The exact error is: stateblock.c:875: error: '}' expected (got ,) Note that you should precompile with tcc itself if you want to

Re: [Tinycc-devel] Compiling preprocessed files with tinycc?

2013-03-20 Thread Austin English
On Tue, Mar 19, 2013 at 10:02 PM, Milutin Jovanović jovanovic.milu...@gmail.com wrote: This is only a filename, or precisely extension issue. If you rename your intermediate file from stateblock.i to stateblock-i.c, I believe everything should work. Miki. On 19 March 2013 23:10, Austin

Re: [Tinycc-devel] Compiling preprocessed files with tinycc?

2013-03-20 Thread Daniel Glöckner
On Wed, Mar 20, 2013 at 01:01:10PM -0700, Austin English wrote: manually correcting that, I'm able to preprocess the problematic file down to: austin@debian-home:~/src/wine-tcc/dlls/d3d8/tests$ cat stateblock.i.tcc.c typedef struct _D3DVECTOR { float x; float y; float z; } D3DMATRIX;