Re: void* arithmnetic

From: Jan Engelhardt
Date: Wed Nov 28 2007 - 19:40:16 EST



On Nov 29 2007 01:05, J.A. MagallÃn wrote:
>
>Since begin of the ages the build of the nvidia driver says things like
>this:
>

Explicitly adding -Wpointer-arith to ones own Makefile is like
admitting the code might be problematic. :->


I think sizeof(void *) == 1 is taken as granted as sizeof(int) >= 4
these days. Sigh.

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