Re: [RFC] [PATCH] omnibus header cleanup, certification

From: H. Peter Anvin (hpa@zytor.com)
Date: Tue Nov 27 2001 - 02:16:46 EST


Nathan Myers wrote:

>
> Not true, in principle. E.g.
>
> #define foo -1
> ...
> char f(char* a) { return foo[a]; } // -a[1] or a[-1]?
>
> Such an expression should, of course, be taken out and shot (although
> it's far less bad than "(x = x++ % y)" that appeared in a macro until
> very recently).
>

OK, you win :)

        -=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 : Fri Nov 30 2001 - 21:00:25 EST