From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9133 invoked by alias); 4 Jul 2008 17:59:04 -0000 Received: (qmail 9110 invoked by uid 22791); 4 Jul 2008 17:59:02 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 04 Jul 2008 17:57:58 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C4A622A96C5; Fri, 4 Jul 2008 13:57:56 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JKhTMHR67iNi; Fri, 4 Jul 2008 13:57:56 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 75BA22A96D0; Fri, 4 Jul 2008 13:57:56 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 6F54AE7ACD; Fri, 4 Jul 2008 13:57:54 -0400 (EDT) Date: Fri, 04 Jul 2008 17:59:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org, bug-gnulib@gnu.org Subject: Re: [RFC] Use gnulib's stdint.h. Message-ID: <20080704175754.GC18019@adacore.com> References: <20080605184041.GA25085@caradoc.them.org> <20080626155155.GA27012@caradoc.them.org> <20080627185907.GA11664@adacore.com> <20080627191314.GA19538@caradoc.them.org> <20080627193139.GD3946@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080627193139.GD3946@adacore.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00060.txt.bz2 Okidoke, Here is a small status on this thread... Generally speaking, I expect all issues to be officially resolved soon. On Fri, Jun 27, 2008 at 03:31:39PM -0400, Joel Brobecker wrote: > > Boo. And if we change libdecnumber to use gnulib's version we'll > > undoubtedly break gcc. If we provide gstdint.h in the gdb directory > > which redirects to , will libdecnumber pick it up at this > > point? > > That's pretty ingenious. Indeed, that works, since the include order > when compiling GDB files is the gdb directory, ahead of all other > dependencies. I'll send a patch shortly after having tested it. Patch posted a few days ago, and waiting for comments. I'll commit in a few days if there is no objection. > > > #if ! defined __cplusplus || defined __STDC_CONSTANT_MACROS > > > > > > /* Get WCHAR_MIN, WCHAR_MAX. */ > > > # if ! (defined WCHAR_MIN && defined WCHAR_MAX) > > > # include > > > # endif > > > > > > #endif Thanks to Ian's help, we removed the check against ctype.h, so this issue should now be fixed. -- Joel