From adrian@mail.tovaris.com  Thu Aug 23 09:31:16 2001
Return-Path: <adrian@mail.tovaris.com>
Received: from tovaris.com (fw-an0.tovaris.com [209.145.84.34])
	by hub.freebsd.org (Postfix) with ESMTP id 5399537B406
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Aug 2001 09:31:15 -0700 (PDT)
	(envelope-from adrian@mail.tovaris.com)
Received: (qmail 22260 invoked by uid 0); 23 Aug 2001 15:31:51 -0000
Received: from mail.tovaris.com (HELO atf.intranet) (209.145.84.38)
  by oldmail.intranet with DES-CBC3-SHA encrypted SMTP; 23 Aug 2001 15:31:51 -0000
Received: (from adrian@localhost)
	by atf.intranet (8.11.5/8.11.5) id f7NGVBf01006;
	Thu, 23 Aug 2001 12:31:11 -0400 (EDT)
	(envelope-from adrian)
Message-Id: <200108231631.f7NGVBf01006@atf.intranet>
Date: Thu, 23 Aug 2001 12:31:11 -0400 (EDT)
From: Adrian Filipi-Martin <adrian@ubergeeks.com>
Reply-To: Adrian Filipi-Martin <adrian@ubergeeks.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: stdbool.h is not installed
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29996
>Category:       misc
>Synopsis:       stdbool.h is not installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    asmodai
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 09:40:01 PDT 2001
>Closed-Date:    Thu Nov 15 13:01:40 PST 2001
>Last-Modified:  Thu Nov 15 13:08:24 PST 2001
>Originator:     Adrian Filipi-Martin
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
Ubergeeks Consulting
>Environment:
System: FreeBSD atf.intranet 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #21: Thu Aug 9 17:40:33 EDT 2001 root@atf.intranet:/home/obj/usr/src/sys/ATF i386

>Description:

	stdbool.h is a C99 standard header that is not available
	under FreeBSD.  There is a version available as part of
	gcc, but it is not installed.  This has caused us minor
	portability annoyances as we port our software to FreeBSD.

>How-To-Repeat:

	Try compiling any C code that needs stdbool.h.

>Fix:

	An easy one would be to start installing the stdbool.h in
	contrib/gcc/ginclude/stdbool.h.  however, that's not the
	best version of stdbool.h available.  The one that was
	indpendently written for OpenBSD includes '#define bool
	_Bool', which is required according to the C99 specs.
	Furthermore, the gcc version doesn't define _Bool at all
	which is not yet a builtin type in gcc 2.95.3.

	I'd recommend simply importing the OpenBSD stdbool.h.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->asmodai 
Responsible-Changed-By: dd 
Responsible-Changed-When: Thu Aug 23 14:31:01 PDT 2001 
Responsible-Changed-Why:  
asmodai imported stdbool.h into -current.  Perhaps he could MFC it after 4.4? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29996 
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Thu Nov 15 13:01:40 PST 2001 
State-Changed-Why:  
MFC'd to STABLE. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29996 
>Unformatted:
