[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D1CCC0040@AcuExch.aculab.com>
Date: Fri, 8 Jan 2016 10:14:52 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Michael Ellerman' <mpe@...erman.id.au>,
Brian Norris <computersforpeace@...il.com>,
Ian Munsie <imunsie@....ibm.com>
CC: Michael Neuling <mikey@...ling.org>, Arnd Bergmann <arnd@...db.de>,
"Anton Blanchard" <anton@....ibm.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Michal Marek <mmarek@...e.com>,
linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
Daniel Axtens <dja@...ens.net>
Subject: RE: Build failure: -Wno-unused-const-variable DNE on old GCC
From: Michael Ellerman
> Sent: 08 January 2016 02:17
> > I doubt you plan to fix all those. So making -Werror configurable seems like
> > the only way forward, then. (Glad you agreed!)
>
> Yep, I'm happy to make Werror configurable.
>
> cxl can probably just use the existing PPC_WERROR.
Personally I think the development builds should be done with
both error -Werror and higher levels of warnings, even if the
ones that users tend to do ignore more warnings.
Clearly some warnings that some versions of gcc have included
in -Wall are just a PITA (like warning for __DATE__ and __TIME__).
The kernel headers do need fixing so that they pass compilation
with options like -Wwrite-strings (linux/mm.h doesn't).
David
Powered by blists - more mailing lists