From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754109AbcAHCMS (ORCPT ); Thu, 7 Jan 2016 21:12:18 -0500 Received: from ozlabs.org ([103.22.144.67]:50953 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753721AbcAHCMR (ORCPT ); Thu, 7 Jan 2016 21:12:17 -0500 Message-ID: <1452219135.18702.0.camel@ellerman.id.au> Subject: Re: [PATCH] misc: cxl: fix build for GCC 4.6.x From: Michael Ellerman To: Brian Norris , Joe Perches Cc: Michal Marek , Anton Blanchard , Ian Munsie , Michael Neuling , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Olof Johansson , Arnd Bergmann Date: Fri, 08 Jan 2016 13:12:15 +1100 In-Reply-To: <20160107203839.GA42481@google.com> References: <20160107185406.GA65420@google.com> <1452195444.4028.21.camel@perches.com> <568EC026.2020207@suse.com> <1452196651.4028.31.camel@perches.com> <20160107201826.GA120952@google.com> <20160107203839.GA42481@google.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-01-07 at 12:38 -0800, Brian Norris wrote: > GCC 4.6.3 does not support -Wno-unused-const-variable. Instead, use the > kbuild infrastructure that checks if this options exists. Thanks. > Also drop -Werror, since it's harmful, if forced on the user. New GCC's, > or higher warning verbosities (e.g., W=1) can easily kill the build > where they shouldn't. But no thanks. Please resend with just the cc-disable-warning change. cheers