lua-users home
lua-l archive

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


Hi,

Rici Lake wrote:
> Sorry it took me so long to get around to it. The patch is now on 
> http://lua-users.org/wiki/LuaPowerPatches

This ...

+        lua_number2int(first, nvalue(ra+1));

... does not work with the MSVC definition of lua_number2int().
You need to put it into a temporary variable first (I stumbled on
this in an older version of LuaJIT, too).

BTW: The opcode docs in lopcodes.h need to be updated, too.

Bye,
     Mike