Re: RFC: booleans and the kernel

H. Peter Anvin (hpa@zytor.com)
Fri, 25 Jan 2002 08:45:55 -0800


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/