On Fri, Apr 25, 2003 at 08:40:11PM +0200, Robert Millan wrote: > On Fri, Apr 25, 2003 at 02:18:18PM -0400, Daniel Jacobowitz wrote: > > > > Is this roughly what you want: > > [EMAIL PROTECTED]:~% gcc-3.2 -Wall -Wconversion -c c.c > > c.c: In function `main': > > c.c:8: warning: passing arg 1 of `a' as unsigned due to prototype > > c.c:8: warning: negative integer implicitly converted to unsigned type > > yes > > > It's not part of -Wall because it's too noisy. > > that disconcerts me, I thought -Wall would include all warnings. would > you consider including it? it may be noisy but can be easily fixed > with a cast, and the benefit is being safe from a quite common bug.
No, the decision was made after looking at the false positive rate. I recommend you read the manual if you want to know what GCC warnings do. It's not quite as clear as it could be, but -Wall is in the middle of the page, and says "all warnings above here". -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer