PATCH: More stdbool tweaking
Daniel Jacobowitz
drow@mvista.com
Thu Feb 7 12:56:00 GMT 2002
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
More information about the Binutils
mailing list