X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Fri, 16 Apr 2004 09:49:49 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Andris Pavenis Message-Id: <2914-Fri16Apr2004094949+0300-eliz@gnu.org> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <200404151822.35494.pavenis@latnet.lv> (message from Andris Pavenis on Thu, 15 Apr 2004 18:22:35 +0300) Subject: Re: Building GDB-6.1 for DJGPP References: <200404151822 DOT 35494 DOT pavenis AT latnet DOT lv> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Andris Pavenis > Date: Thu, 15 Apr 2004 18:22:35 +0300 > > --- bfdsymify.c~1 2002-08-15 11:21:00.000000000 +0000 > +++ bfdsymify.c 2004-04-11 09:17:08.000000000 +0000 > @@ -4,10 +4,12 @@ > #include > #include > #include > +#include > #include > #include > > #include "bfd.h" > +#include "bfdver.h" > #include "getopt.h" > #include "libiberty.h" > #include "demangle.h" > @@ -111,7 +113,7 @@ > const asymbol *b =3D *(const asymbol **)bp; > const char *an, *bn; > size_t anl, bnl; > - boolean af, bf; > + bool af, bf; What was wrong with the original code that used `boolean'? Is that a reserved identifier in newer GCC's? If so, I'd prefer a solution that doesn't require stdbool.h, since we don't have it in djdev203. Something like BOOLEAN or BOOL or some such, defined in bfdsymify.c. If all else fails, even using `int' would be better, I think.