Messages in this thread | | | Date | Thu, 1 Jan 2004 19:07:48 -0800 | From | Paul Jackson <> | Subject | Re: [PATCH] disable gcc warnings of sign/unsigned comparison |
| |
Andi wrote: > That was a bug in gcc 3.3.0. It had the -Wsign-compare warning > enabled in -Wall by mistake.
Correct. Even what is now downloadable as:
ftp://ftp.gnu.org/gnu/gcc/gcc-3.3
seems to have this fixed, and has a gcc/cp/NEWS file entry stating:
+ -Wall no longer implies -W. The new warning flag, -Wsign-compare, included in -Wall, warns about dangerous comparisons of signed and unsigned values. Only the flag is new; it was previously part of -W.
-- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <pj@sgi.com> 1.650.933.1373 - 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/
| |