This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [mingw]gdb CVS HEAD build error


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]