lua-users home
lua-l archive

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


I64 and __int64 should be ok on all VC versions that I know. VC6,7,8,9

On Mon, Jul 8, 2013 at 12:36 PM, Shmuel Zeigerman <shmuz@013net.net> wrote:
> On 08/07/2013 00:38, Roberto Ierusalimschy wrote:
>>
>> I had tested on Windows 7, that is why I suspected the libraries. I
>> still think the problem is the "ll" modifier for printing long longs.
>> Maybe you could try "L" instead of "ll"?
>>
>> In luaconf.h:
>> 527c527
>> < #define LUA_INTEGER_FRMLEN    "ll"
>> ---
>>>
>>> #define LUA_INTEGER_FRMLEN      "L"
>
>
> "L" did not help (got same results as with "ll").
>
> "I64" produced correct results on both tested systems. See [1].
>
> [1] http://msdn.microsoft.com/en-us/library/aa261215%28v=vs.60%29.aspx
>
> --
> Shmuel
>



-- 
David Burgess