This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gprof failed to compile
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H . J . Lu" <hjl at lucon dot org>
- Cc: drow at mvista dot com, binutils at sources dot redhat dot com
- Date: Thu, 31 Jan 2002 20:59:05 +1030
- Subject: Re: gprof failed to compile
- References: <20020131004034.A11597@lucon.org>
On Thu, Jan 31, 2002 at 12:40:34AM -0800, H . J . Lu wrote:
> gprof failed to compile due to
>
> 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
>
> * bfd-in.h: Include <stdbool.h> if it is available.
> * bfd-in2.h: Regenerated.
>
> The problem is gprof.h also defines "bool". Now bool in bfd.h is
> incompatible with "bool" in gprof.h when gcc 2.96 or above is used.
> Please fix it.
I'm doing so right now.
--
Alan Modra
IBM OzLabs - Linux Technology Centre