|
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