Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: Joel Brobecker <brobecker@gnat.com>
Cc: Michael Elizabeth Chastain <mec@shout.net>,
	gdb-patches@sources.redhat.com
Subject: Re: [rfa] gdb_thread_db.h: #errror if no uintptr_t
Date: Wed, 26 Feb 2003 18:45:00 -0000	[thread overview]
Message-ID: <20030226184450.GA6672@nevyn.them.org> (raw)
In-Reply-To: <20030226183912.GE910@gnat.com>

On Wed, Feb 26, 2003 at 10:39:12AM -0800, Joel Brobecker wrote:
> > +#ifndef HAVE_UINTPTR_T
> > +#error No uintptr_t available; your C library is too old.
> > +/* Inhibit further compilation errors after this error.  */
> > +#define uintptr_t void *
> > +#endif
> 
> Forgive my curiosity, why adding the "#define uintptr_t"? Isn't the
> compilation going to stop with the #error message anyway?

I thought so too, so I tried it.  Bizarre... but he's right.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


  reply	other threads:[~2003-02-26 18:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 17:19 Michael Elizabeth Chastain
2003-02-26 18:39 ` Joel Brobecker
2003-02-26 18:45   ` Daniel Jacobowitz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-26 19:56 Michael Elizabeth Chastain
2003-02-26 17:31 Michael Elizabeth Chastain
2003-02-26 16:52 Michael Elizabeth Chastain
2003-02-26 16:59 ` Daniel Jacobowitz

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=20030226184450.GA6672@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=brobecker@gnat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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