This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: More stdbool tweaking


On Thu, Feb 07, 2002 at 01:51:45PM -0500, Andrew Cagney wrote:
> >If you mean adding a #include <curses.h> to GDB's "defs.h" before the 
> >>#inlcude "bfd.h" then that won't work.  <curses.h> is ledgendary for its 
> >>name space pollution.
> >
> >
> >No, I have a patch in my working directory which changes those files
> >which already include <curses.h>: utils.c and tui/.  They now pull it
> >in before bfd.h, and everything is happy.
> 
> 
> I think I need a bucket ... :-)  You'll need to explictly include 
> "config.h" as well.  Is it possible to fix bfd.h?  If this is hurting 
> GDB it is going to hurt a lot more :-(

It is not possible to fix bfd.h until we purge bool from that header
entirely.  It's a gross namespace issue.  I'll look at that, but only
post-2.12.0 release.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]