This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [mingw]gdb CVS HEAD build error
- From: Eli Zaretskii <eliz at gnu dot org>
- To: asmwarrior <asmwarrior at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 14 May 2012 05:50:31 +0300
- Subject: Re: [mingw]gdb CVS HEAD build error
- References: <4FB05F17.7090701@gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?