[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.0 (work1) now available
- From: "Nodir Temirkhodjaev" <nodir.temir@...>
- Date: Tue, 9 Jul 2013 09:39:39 +0500
On 09.07.2013, miles@gnu.org wrote:
> Dunno the details, but according to:
>
> http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport
>
> .. MSVC does support long long...
MSVC 6 doesn't support:
lua-5.3.0\src\lua.h(107) : error C2632: 'long' followed by 'long' is illegal
lua-5.3.0\src\lua.h(110) : error C2632: 'long' followed by 'long' is illegal
...
After changes in luaconf.h:
#if defined(_MSC_VER) || defined(__BORLANDC__)
#define LUA_INTEGER __int64
#else
#define LUA_INTEGER long long
#endif
there are many warnings:
lua-5.3.0\src\lbitlib.c(82) : warning C4244: 'initializing' : conversion from 'unsigned __int64 ' to 'unsigned long ', possible loss of data
...
lua-5.3.0\src\lmathlib.c(248) : warning C4761: integral size mismatch in argument; conversion supplied
...
-- Nodir