[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ANN: LuaJIT 1.1.1 released
- From: Mike Pall <mikelu-0606@...>
- Date: Fri, 23 Jun 2006 01:20:49 +0200
Hi,
Michael Wolf wrote:
> It's that Microsoft special version of lua_number2int that generates the
> error:
>
> #define lua_number2int(i,d) __asm fld d __asm fistp i
Ouch! Seems MS inline assembly doesn't handle struct accesses. :-/
Please try replacing this line in luaconf.h with:
#define lua_number2int(i,d) { double l_d = (d); __asm fld l_d __asm fistp i }
Make sure this variant is still enabled. Does this work now?
Looks like I have to release yet another minor update now. *sigh*
[Note that plain Lua is not affected because this macro is only
used with local variables.]
Bye,
Mike