Hi all,

I am getting a warning out of gcc that it doesn't know about %lli in 
snprintf(). If I use sprintf() I don't see a warning. If I use 
snprintf() and ignore the warning the resulting binary seems to work 
just fine.

Known bug or am I doing something wrong?

Example code:
snprintf( sixtyFourByteStr, 63, "%lli", sixtyFourBitInt );

Gcc output:
CFLAGS = -mms-bitfields -g -Wall -pedantic -std=c99 -D _WIN32_WINNT=0x0501
foo.c:1:35: warning: unknown conversion type character 'l' in format
foo.c:1:35: warning: too many arguments for format
_______________________________________________
mingw mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to