linux-mips
[Top] [All Lists]

Re: [PATCH][au1000] Remove useless EXTRA_CFLAGS

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH][au1000] Remove useless EXTRA_CFLAGS
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 8 Nov 2007 09:47:08 +0000
Cc: Florian Fainelli <florian.fainelli@telecomint.eu>, linux-mips@linux-mips.org
In-reply-to: <Pine.LNX.4.64N.0711071239560.14970@blysk.ds.pg.gda.pl>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200710252108.43357.florian.fainelli@telecomint.eu> <20071029151010.GA3953@linux-mips.org> <Pine.LNX.4.64N.0711071239560.14970@blysk.ds.pg.gda.pl>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Wed, Nov 07, 2007 at 12:41:29PM +0000, Maciej W. Rozycki wrote:

> > And to ensure it will stay that way I'll keep -Werror.  It seems only
> > little PITAs like this keep everybody on their toes :-)
> 
>  Yeah...  If only GCC had no bugs and always had a clue of what to warn 
> about...

The least of all problems.

As of 2.6.20-rc2-git2 we had 137 warnings in MIPS specific code of a total
of 218 for the kernel and 44 for modules - that's a insane 52%.  And people
happily added more crappy code because they didn't not even _notice_ the
warnings some of which indeed were bugs.

Compare to 2.6.23 - 13 warnings for MIPS specific code of a total of 48
warnings and another 23 warnings for all the modules.  For a codebase
which overall had grown by half a million lines between those releases.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>