This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: stdbool.h problems
On Thu, Feb 07, 2002 at 08:04:37PM -0000, kettenis@chello.nl wrote:
> Even though FreeBSD 4.4 comes with GCC 2.95.3, it doesn't have
> stdbool.h. Therefore Daniels patch:
>
> 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
>
> * bfd-in.h: Include <stdbool.h> if it is available.
> * bfd-in2.h: Regenerated.
>
> Breaks compilation on FreeBSD. Arguably this is FreeBSD's problem,
> but unfortunately we'll have to work around it. Sorry, no solution.
> I don't understand the issues yet.
Yes, I posted a patch to fix this today. FreeBSD apparently has the
same issue NetBSD has; even though that patch is coming out, I strongly
recommend FreeBSD get fixed. <stdbool.h> is a standard C99 header.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer