From owner-freebsd-ports Tue Nov 21 9:30: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 33A0137B479 for ; Tue, 21 Nov 2000 09:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA53859; Tue, 21 Nov 2000 09:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 21 Nov 2000 09:30:02 -0800 (PST) Message-Id: <200011211730.JAA53859@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Donald J . Maddox" Subject: Re: ports/23007: /usr/include/stdbool.h broken Reply-To: "Donald J . Maddox" Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/23007; it has been noted by GNATS. From: "Donald J . Maddox" To: justin.kolodziej@marquette.edu Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: ports/23007: /usr/include/stdbool.h broken Date: Tue, 21 Nov 2000 12:28:42 -0500 I submitted a PR on this same problem about a week ago... The only committer who has responded was Bruce Evans, who pointed out that this file is even more broken than I initially thought. He, however, deferred the fix to the author who has not expressed any interest in the issue thus far :( On Tue, Nov 21, 2000 at 09:14:12AM -0800, justin.kolodziej@marquette.edu wrote: > > >Number: 23007 > >Category: ports > >Synopsis: /usr/include/stdbool.h broken > >Confidential: no > >Severity: non-critical > >Priority: medium > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Nov 21 09:20:00 PST 2000 > >Closed-Date: > >Last-Modified: > >Originator: Justin A. Kolodziej > >Release: 5.0-20001119-CURRENT > >Organization: > Marquette University > >Environment: > FreeBSD kolodziejj.tower.mu.edu 5.0-20001119-CURRENT FreeBSD 5.0-20001119-CURRENT #0: Sun Nov 19 14:07:24 GMT 2000 root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC i386 > > >Description: > The /usr/include/stdbool.h header file is wrong if the compiler doesn't > set __STDC_VERSION_ to something less than 199901. It defines _Bool > twice and kills the compile. > >How-To-Repeat: > cd /usr/ports/print/a2ps > make install > > >Fix: > I guess if the compiler isn't ANSI C99, then use > > typedef int _Bool; > #define true 1 > #define false 0 > > otherwise use the C99 enum typedef and defines. > > Or perhaps throw the offending bit out and use the C99 stuff for all > compilers. > > >Release-Note: > >Audit-Trail: > >Unformatted: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message