[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: compile lua with tcc
- From: Henk Schaer <Henk.Schaer@...>
- Date: Mon, 11 Sep 2006 11:37:17 +0000 (UTC)
Luiz Henrique de Figueiredo <lhf <at> tecgraf.puc-rio.br> writes:
> Does tcc choke with the original line, which is reproduced below?
> tf = ((c == LUA_SIGNATURE) ? luaU_undump : luaY_parser)(L, p->z,
> &p->buff, p->name);
The binary version from the tcc website does indeed (version 0.9.23-PE).
In file included from all.c:10:
ldo.c:495: function pointer expected
I patched my version of tcc and it compiles LUA fine now.
It still needs
#define LUAI_DATA extern
or else it complains:
ltm.h:46: unknown type size