Date: Tue, 21 Nov 2000 09:14:12 -0800 (PST) From: justin.kolodziej@marquette.edu To: freebsd-gnats-submit@FreeBSD.org Subject: ports/23007: /usr/include/stdbool.h broken Message-ID: <20001121171412.59E4137B479@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001121171412.59E4137B479>