PATCH, Re: gprof failed to compile

Doug Evans dje@transmeta.com
Thu Jan 31 09:02:00 GMT 2002
Daniel Jacobowitz writes:
 > The whole point was that we may now typedef bool in "bfd.h".

Defining `bool' in any application-specific header seems wrong.

Why not move it to its own file (given that stdbool.h is the way it is)?
One might even put that file in devo/include (or is that toplevel/include :-).
One could then conditionalize its usage on AC_CHECK_HEADER(stdbool.h)
(plus additional smarts as necessary).

Just a half-thought-out idea.



More information about the Binutils mailing list