From owner-freebsd-current Wed Nov 15 16:23:21 2000 Delivered-To: freebsd-current@freebsd.org Received: from cae88-102-101.sc.rr.com (cae88-102-101.sc.rr.com [24.88.102.101]) by hub.freebsd.org (Postfix) with ESMTP id 6F47637B479; Wed, 15 Nov 2000 16:23:13 -0800 (PST) Received: (from myself@localhost) by cae88-102-101.sc.rr.com (8.11.1/8.9.3) id eAG0Sxm07009; Wed, 15 Nov 2000 19:28:59 -0500 (EST) (envelope-from myself) Date: Wed, 15 Nov 2000 19:28:59 -0500 From: "Donald J . Maddox" To: current@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Problems with stdbool.h... Message-ID: <20001115192859.A6948@cae88-102-101.sc.rr.com> Reply-To: dmaddox@sc.rr.com Mail-Followup-To: "Donald J . Maddox" , current@FreeBSD.ORG, ports@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As some of you may have noticed, apsfilter will no longer compile on -current. The reason is that the configure script checks for , and uses it if it exists; but this file, as I understand it, is intended only for use with C99, and unfortunately, if it is included by the standard compiler, the results are bad. An example: /* test.c */ #include int main() { return(0); } $ cc -o test test.c In file included from test.c:1: /usr/include/stdbool.h:51: conflicting types for `_Bool' /usr/include/stdbool.h:38: previous declaration of `_Bool' Apparently, stdbool.h defines _Bool, then redefines it if __STDC_VERSION__ < 199901L. Fixing the port to compile anyway would be simple enough, but I think the real problem is in stdbool.h, no? It shouldn't break the standard compiler like this, should it? Please forgive the cross-posting... Although this affects ports, I have no way of knowing if the maintainer of this file reads the ports mailing list... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message