Re: [PATCH] s390 (7/13): gcc 3.3 adaptions.

Richard B. Johnson (root@chaos.analogic.com)
Mon, 24 Feb 2003 14:44:12 -0500 (EST)


On Mon, 24 Feb 2003, Martin Schwidefsky wrote:

> updates for compiling with gcc-3.3pre
>

[SNIPPED...]
> - Don't warn about signed/unsigned comparisions

I think you must keep these warnings in! There are many bugs
that these uncover uncluding loops that don't terminate correctly
but seem to work for "most all" cases. These are the hard-to-find
bugs that hit you six months after release.

size_t i;

while((i = do_forever()) > 0)
;

... do_forever() finally errors out and returns -1 stuck(forever).

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

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