This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [mingw]gdb CVS HEAD build error
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: asmwarrior <asmwarrior at gmail dot com>, gdb at sourceware dot org
- Date: Sun, 13 May 2012 21:58:08 -0700
- Subject: Re: [mingw]gdb CVS HEAD build error
- References: <4FB05F17.7090701@gmail.com> <83k40fwk5k.fsf@gnu.org>
> > It suggest that under MinGW, we should use %I64d
> >
> > Any ideas?
>
> Use decimal2str?
We have plongest and pulongest which I think are a little more
convenient to use (it's based on decimal2str). Cast to LONGEST
instead of long long, and then pass it to plongest.
Another possible option is to switch to gnulib's printf. I don't know
if gnulib's configury would detect faulty or incomplete versions of
printf like here, so it might not work in this case, but could be worth
a shot.
--
Joel