From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29895 invoked by alias); 26 Feb 2003 18:45:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29888 invoked from network); 26 Feb 2003 18:45:00 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 26 Feb 2003 18:45:00 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18o8RF-0001y5-00; Wed, 26 Feb 2003 14:46:01 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18o6Xy-0001jw-00; Wed, 26 Feb 2003 13:44:50 -0500 Date: Wed, 26 Feb 2003 18:45:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Michael Elizabeth Chastain , gdb-patches@sources.redhat.com Subject: Re: [rfa] gdb_thread_db.h: #errror if no uintptr_t Message-ID: <20030226184450.GA6672@nevyn.them.org> Mail-Followup-To: Joel Brobecker , Michael Elizabeth Chastain , gdb-patches@sources.redhat.com References: <200302261719.h1QHJb227567@duracef.shout.net> <20030226183912.GE910@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030226183912.GE910@gnat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-02/txt/msg00727.txt.bz2 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