[mingw]gdb CVS HEAD build error

Eli Zaretskii eliz@gnu.org
Mon May 14 02:49:00 GMT 2012


> Date: Mon, 14 May 2012 09:25:43 +0800
> From: asmwarrior <asmwarrior@gmail.com>
> 
> It looks like those format: "%lld"
> 
> sprintf (str, "%lld", va_arg (ap, long long));
> 
> is not supported under MinGW.

Correct.

> By reading this link:
> http://cboard.cprogramming.com/cplusplus-programming/118149-long-long-int-gplusplus-mingw.html
> 
> It suggest that under MinGW, we should use %I64d
> 
> Any ideas?

Use decimal2str?



More information about the Gdb mailing list