Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: [mingw]gdb CVS HEAD build error
Date: Mon, 14 May 2012 02:49:00 -0000	[thread overview]
Message-ID: <83k40fwk5k.fsf@gnu.org> (raw)
In-Reply-To: <4FB05F17.7090701@gmail.com>

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


  reply	other threads:[~2012-05-14  2:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14  1:24 asmwarrior
2012-05-14  2:49 ` Eli Zaretskii [this message]
2012-05-14  4:58   ` Joel Brobecker
2012-05-14 15:52     ` Eli Zaretskii
2012-05-14 16:16       ` Stan Shebs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k40fwk5k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=asmwarrior@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox