> 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/