PATCH, Re: gprof failed to compile

Daniel Jacobowitz drow@mvista.com
Thu Jan 31 08:54:00 GMT 2002


On Thu, Jan 31, 2002 at 11:27:05AM -0600, Tom Rix wrote:
> I am getting a new build error for gprof on AIX.
> 
> Looks like it is caused by not typedef-ing bool.
> 
> >
> >         * gprof.h: Don't include ansidecl.h, do include bfd.h.
> >         (bool): Don't typedef.
> 
> The included patch reverts the bool to typedef-ed to int.
> 
> Ok to commit?

No, not OK.  The whole point was that we may now typedef bool in
"bfd.h".

Consider seeing what breaks if you typedef bool in bfd.h on the
non-<stdbool.h> code path?


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



More information about the Binutils mailing list