Re: min/max and all that jazz

Bruce Harada (bruce@ask.ne.jp)
Thu, 20 Sep 2001 03:55:47 +0900


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/