Re: RFC: booleans and the kernel

From: H. Peter Anvin (hpa@zytor.com)
Date: Fri Jan 25 2002 - 11:45:55 EST


Werner Almesberger wrote:

>
> Not sure if this is a flaw of gcc or of the standard. If gcc's
> stdbool.h is a standard-compliant implementation of "bool", then
> K&Rv2 seems to endorse this behaviour: from A4.2, "Enumerations
> behave like integers".
>

This would be a flaw in gcc.

K&Rv2 is C89, so it doesn't apply at all.

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:00:33 EST