On 5/2/2013 02:09, swigger wrote:
> ~/tmp$ cat hello.c
> #include <stdio.h>
>
> int main()
> {
> printf("%lld\n", 0x123456789all);
> return 0;
> }
> ~/tmp$ gcc -Wall hello.c
> ~/tmp$ i686-w64-mingw32-gcc -Wall hello.c
> hello.c: In function ‘main’:
> hello.c:5:2: warning: unknown conversion type character ‘l’ in format
> [-Wformat=]
> printf("%lld\n", 0x123456789all);
> ^
> hello.c:5:2: warning: too many arguments for format [-Wformat-extra-args]Use %I64d, this is not a bug. Depending on your version of Windows, msvcrt may not know about %lld at all.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
