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 RFA] More stdbool.h fallout


On Fri, Feb 01, 2002 at 02:48:06PM -0800, Jason R Thorpe wrote:
> Testing for the presence of a header based on compiler version
> seems highly bogus.  It also make BFD fail to compile on the
> current development version of NetBSD.
> 
> The following patch also makes sure <stdbool.h> actually exists
> before trying to include it.
> 
> OK to commit?
> 
> 	* bfd-in.h: Don't include <stdbool.h> unless HAVE_STDBOOL_H
> 	is defined.
> 	* bfd-in2.h: Regenerate.
> 	* configure.in: Check for the existence of <stdbool.h>.
> 	* configure: Regenerate.

Not OK, as others mentioned - but does NetBSD really not ship
stdbool.h?  It's one of GCC's provided include files, included in the
GCC distribution and gcc-lib/.../include, so I'm quite surprised the
check failed.

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


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