From owner-freebsd-ports Tue Nov 21 9:20: 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 12DEE37B4E5 for ; Tue, 21 Nov 2000 09:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id JAA52393; Tue, 21 Nov 2000 09:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 59E4137B479; Tue, 21 Nov 2000 09:14:12 -0800 (PST) Message-Id: <20001121171412.59E4137B479@hub.freebsd.org> Date: Tue, 21 Nov 2000 09:14:12 -0800 (PST) From: justin.kolodziej@marquette.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/23007: /usr/include/stdbool.h broken Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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