Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: msnyder@vmware.com
Cc: msnyder@vmware.com, mark@klomp.org, gdb-patches@sourceware.org,
	        teawater@gmail.com
Subject: Re: [RFA record/replay] cast to avoid compiler warning
Date: Sun, 05 Oct 2008 18:40:00 -0000	[thread overview]
Message-ID: <200810051840.m95Ie3pD009409@brahms.sibelius.xs4all.nl> (raw)
In-Reply-To: <48E906B5.8070600@vmware.com> (message from Michael Snyder on 	Sun, 05 Oct 2008 11:25:57 -0700)

> Date: Sun, 05 Oct 2008 11:25:57 -0700
> From: Michael Snyder <msnyder@vmware.com>
> 
> Daniel Jacobowitz wrote:
> > On Sun, Oct 05, 2008 at 08:44:38AM -0700, Michael Snyder wrote:
> >> Yes, but we don't know that gdb will always be built using gnulib.
> > 
> > Gnulib is a library of portability replacement routines that GDB can
> > import.  We already use it for stdint.h and memchr / memmem.  We could
> > easily add it for further routines.
> 
> OK.  So, would you favor using the "%zd" modifier instead of a cast?
> 
> I mainly didn't do that because there were no existing instances
> of it in gdb now, but I was just being conservative...

We still only require ISO C90 to build GDB, so we shouldn't use %zd.


  reply	other threads:[~2008-10-05 18:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 18:45 Michael Snyder
2008-10-04 21:53 ` Mark Kettenis
2008-10-05  7:12   ` Andreas Schwab
2008-10-05  9:54     ` Mark Kettenis
2008-10-05 11:02       ` Andreas Schwab
2008-10-05 12:17   ` Mark Wielaard
2008-10-05 15:47     ` Michael Snyder
2008-10-05 16:05       ` Daniel Jacobowitz
2008-10-05 18:28         ` Michael Snyder
2008-10-05 18:40           ` Mark Kettenis [this message]
2008-10-05 19:41           ` Eli Zaretskii
2008-10-05 20:35             ` Michael Snyder
2008-10-05 21:03               ` Mark Kettenis
2008-10-06  7:29               ` teawater

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=200810051840.m95Ie3pD009409@brahms.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=gdb-patches@sourceware.org \
    --cc=mark@klomp.org \
    --cc=msnyder@vmware.com \
    --cc=teawater@gmail.com \
    /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