Re: macro conflict

From: Roman Zippel (zippel@linux-m68k.org)
Date: Fri Aug 24 2001 - 16:17:38 EST


Hi,

> sizeof() test isn't even needed due to promotion. Just the signs are
> important (afaik) and a test for pointer and integral mixing which I
> cann't think of. Maybe some clever use of arrays or "+ *x" or
> something.

Try '-W' or '-Wsign-compare'. pointer/integer compare already results in
a warning without any option.

bye, Roman
-
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 Aug 31 2001 - 21:00:15 EST