lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 08/01/2010 19:28, Ignacio Burgueño wrote:
On 08/01/2010 19:16, Alexander Gladysh wrote:
On Fri, Jan 8, 2010 at 23:49, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
Lua 5.2.0 (work1) is now available at
http://www.lua.org/work/lua-5.2.0-work1.tar.gz

All feedback welcome. Thanks.



Also, trying to compile with Visual C 6. I'm adapting the project I had for Lua 5.1.4, adding the new files, etc.

I get the following error:
ltable.c(101) : error C2143: syntax error : missing ';' before 'type'

The strange thing is that the error goes away if I change (in luaconf.h)

this
#define lua_number2int(i,d)   __asm fld d; __asm fistp i

to
#define lua_number2int(i,d)   {__asm {fld d}; __asm fistp i}

No, leaving out the braces around "fld d" won't work.