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


> Sorry for taking so long to get to this.
> 
> Including <stdbool.h> where it is available seems to cause more problems
> than it solves.  Basically, some versions of <curses.h> drag in <stdbool.h>
> which conflicts with BFD's bool; others conflict with <stdbool.h>.  The only
> way I found to get this right was to require consumers of "bfd.h" to include
> <curses.h> beforehand.  I'll do the patch to GDB to make this happen
> separately.


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.

Andrew


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