[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_Number from double to float and LuaPlus
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 12 Dec 2003 14:13:36 -0200
>Editting lua.h to change the typedef went smoothly. I ended up with a
>number of warnings about lost precision, but some static_cast and c-style
>casts to lua_Number took care of that.
There's no need to edit lua.h. As mentioned in config, it is enough to
add this to config:
NUMBER= -DLUA_USER_H='"../etc/luser_number.h"' -DUSE_FLOAT
I don't get *any* warnings with this. Are you using Lua 5.0?
--lhf