Re: min/max and all that jazz

From: Bruce Harada (bruce@ask.ne.jp)
Date: Wed Sep 19 2001 - 13:55:47 EST


On Wed, 19 Sep 2001 11:59:17 +0200
Duncan Sands <duncan.sands@math.u-psud.fr> wrote:

> gcc has a warning option -Wsign-compare (not turned on by -Wall):

[SNIP]

> This might pick up some errors of the kind the new min/max macros
> are trying to catch...
>
> PS: please CC any comments to me, since I'm not subscribed to the list.

Apparently not... During the big flamefest over min()/max(), Linus expressed a
fairly clear dislike for -Wsign-compare ;)

-
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 : Sun Sep 23 2001 - 21:00:32 EST