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, Re: gprof failed to compile


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.


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