lua-users home
lua-l archive

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

> > i586-mingw32msvc-gcc -O2 -Wall -Wextra -DLUA_COMPAT_ALL     -c -o lvm.o lvm.c
> > lvm.c: In function ‘luaV_tostring’:
> > lvm.c:57:7: warning: unknown conversion type character ‘l’ in format [-Wformat]
> This is strange... "%ld" is quite standard (C89).

My bad... The problem is again the "ll" (that format item is "%lld", not
"%ld"). Probably this change in luaconf.h solves it:

< #define LUA_INTEGER_FRMLEN	"ll"
> #define LUA_INTEGER_FRMLEN	"I64"

-- Roberto