As some of you may have noticed, apsfilter will no longer
compile on -current.  The reason is that the configure
script checks for <stdbool.h>, 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 <stdbool.h>
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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to