From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eddie.linux-mips.org ([78.24.191.182] helo=cvs.linux-mips.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SQvWI-00024v-6D for linux-mtd@lists.infradead.org; Sun, 06 May 2012 07:04:39 +0000 Received: from localhost.localdomain ([127.0.0.1]:38129 "EHLO localhost.localdomain" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1903611Ab2EFHEd (ORCPT ); Sun, 6 May 2012 09:04:33 +0200 Date: Sun, 6 May 2012 08:04:33 +0100 (BST) From: "Maciej W. Rozycki" To: David Daney Subject: Re: [PATCH 1/2] MIPS: Kbuild: remove -Werror In-Reply-To: <4F9AD14E.9060008@gmail.com> Message-ID: References: <1335534510-12573-1-git-send-email-dedekind1@gmail.com> <4F9AD14E.9060008@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: MIPS Mailing List , MTD Maling List , Ralf Baechle , Artem Bityutskiy List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, 27 Apr 2012, David Daney wrote: > > MIPS build fails with the standard W=1 Kbuild switch with because of the > > -Werror gcc switch. > > > > This patch removes the gcc switch to make W=1 work. Mips is the only > > architecture I know which does not build with W=1 and this upsets my aiaiai > > scripts. And in general, you never know which warnings newer versions of gcc > > will start emiting so having -Werror by default is not the best idea. > > > > Signed-off-by: Artem Bityutskiy > > I think the warning messages are enough, we don't need to break things. I disagree. People generally don't fix their broken code just because it triggers warnings. The cases where GCC is genuinely confused are the minority -- and even if so, chances are the human reader of that code will also be. Maciej