From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DMARC_NONE,MAILING_LIST_MULTI, NICE_REPLY_A autolearn=unavailable autolearn_force=no version=4.0.0 Received: from Darkmere.psychozone (foo.stahl.nu [194.18.231.27]) by chiba.3jane.net (Postfix) with ESMTP id E629C20EC5A0 for ; Sun, 7 Apr 2002 10:38:55 -0500 (CDT) Received: from Darkmere.psychozone (localhost [127.0.0.1]) by Darkmere.psychozone (Postfix) with SMTP id 5A64D22C28 for ; Sun, 7 Apr 2002 17:32:58 +0200 (CEST) Date: Sun, 7 Apr 2002 17:32:56 +0200 From: Spider To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] Re: Ebuild error for gdb Message-Id: <20020407173256.7b5c2ae7.spider@gentoo.org> In-Reply-To: <20020407033101.I3603@squish.home.loc> References: <20020406123702.12cda6c9.colonists@mrmarr.com> <20020407033101.I3603@squish.home.loc> Organization: Chaotic X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.SOoxUWh9CDuElw" Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: abbdaa01-b9cb-4a53-ab27-73992a83f0cb X-Archives-Hash: 3b97eb9947b701117d5bb12849a220de --=.SOoxUWh9CDuElw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit SO -thats- what it is. Agh, this bug appears in ncurses snapshot as of recently, it wasn't there in the main 5.2 release of ncurses. someone feel like fixing this? //Spider begin quote On Sun, 7 Apr 2002 03:31:01 -0400 Paul wrote: > Dave Lee , on Sat Apr 06, 2002 [04:08:34 PM] said: > > > > gdb fails with the same error for me. Here is what make spits out > > > > gcc -c -march=i686 -O3 -pipe -I. -I. -I./config -DHAVE_CONFIG_H > > -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd > > -I./../include -I../intl -I./../intl -DMI_OUT=1 -DUI_OUT=1 > > -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat > > -Wparentheses -Wpointer-arith -Wuninitialized utils.c In file > > included from /usr/include/curses.h:111, from > > utils.c:30:/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdboo > > l.h:9: conflicting types for `false' > > ../bfd/bfd.h:102: previous declaration of `false' > > /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/include/stdbool.h:11: > > conflicting types for `true' > > ../bfd/bfd.h:102: previous declaration of `true' > > Hi; > > In /usr/include/curses.h, we see this mess: > > #if (!defined(__cplusplus) || !1) && (!0) > > #if 1 <----change me > #include > #endif > > #undef bool > > #if 1 > #define bool NCURSES_BOOL > #else > typedef unsigned char bool; > #endif > > #endif /* !__cplusplus, etc. */ > > > Change the '#if 1' at line 110 to '#if 0', and you can > merge gdb. I dont know what the right fix is; in gdb, bfd/bfd.h > has an enum that conflicts with the enum in stdbool.h (defining > 'true' and 'false') > Either curses.h needs to be smarter, or bfd-in.h needs > tuning.... ???? > > Paul > set@pobox.com > > ps. if you change this to get gdb to merge, change it back, as I > have no idea how it would affect other things that want to use > curses... > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@gentoo.org > http://lists.gentoo.org/mailman/listinfo/gentoo-dev -- begin happy99.exe This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end --=.SOoxUWh9CDuElw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE8sGaqXNNftdcUD70RAl6+AJ9JvIQ9bR2WnjQTdek8v1oq0MGvNACeKxh6 yQ25nz7PYQz0y+bho4MiUCw= =rcps -----END PGP SIGNATURE----- --=.SOoxUWh9CDuElw--