From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14468 invoked by alias); 12 Aug 2004 01:26:11 -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 14441 invoked from network); 12 Aug 2004 01:26:10 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 12 Aug 2004 01:26:10 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i7C1Pte3023196 for ; Wed, 11 Aug 2004 21:26:05 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i7C1Poa17017; Wed, 11 Aug 2004 21:25:50 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A4EF52BA0; Wed, 11 Aug 2004 21:25:44 -0400 (EDT) Message-ID: <411AC718.9060302@gnu.org> Date: Thu, 12 Aug 2004 01:26:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040801 MIME-Version: 1.0 To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] s/UINT_MAX/GDB_UINT_MAX/ ? References: <20040811224640.GM25562@gnat.com> In-Reply-To: <20040811224640.GM25562@gnat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00430.txt.bz2 > This is the last entity in config/powerpc/xm-aix4.h. The comment says: > > /* UINT_MAX is defined in as a decimal constant (4294967295) > which is too large to fit in a signed int when it is parsed by the > compiler, so it issues a diagnostic. Just undef it here so that we > use gdb's version in defs.h */ > #undef UINT_MAX > > So we have a collision between the macro defined by GDB and the macro > defined by the system. For recent enough versions of AIX, I don't think > the values are different, so we could look the other way and just remove > the #undef, and all things should work. But we still have this collision > and I think we should fix it. Lets drop the #undef. As you've indicated, recent versions of AIX don't have this problem. If someone steps forward with a not-so-recent version, they can fix configure.in. Andrew