Re: [PATCH] disable gcc warnings of sign/unsigned comparison

From: Paul Jackson
Date: Thu Jan 01 2004 - 22:21:45 EST


Andrew wrote:
> ugh, that is unacceptable.
> Unless anyone has a better idea, yes, we should apply your patch.

It seems that the only place I can find the gcc with this bug (that
-Wall implies -Wsign-compare) is the gcc 3.3 that came with my SuSE
Linux 8.2 distribution. Each of the 3.3, 3.3.1 and 3.3.2 versions
available at ftp.gnu.org/gnu/gcc are ok - no such bug.

So it's not a big deal either way whether to apply this patch.

In the short term, it helps a very specific version of gcc.

In the longer term, it clutters the top Makefile with a pimple
to address a transient glitch.

Technically it is a no-op for other gcc versions, since
sign-compare is off in all other cases anyway.

I vote that you:

==> Drop my patch in the trash

in the interests of avoiding Makefile clutter. Tell people like
me that if it hurts to use this gcc 3.3, then don't use it ;).

--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/