public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@au1•ibm.com>
To: Torsten Duwe <duwe@lst•de>
Cc: Ian Munsie <imunsie@au1•ibm.com>,
	Michael Ellerman <michaele@au1•ibm.com>,
	linuxppc-dev <linuxppc-dev@ozlabs•org>,
	Michael Neuling <mikey@neuling•org>
Subject: Re: [PATCH] cxl: Fix build failure due to -Wunused-variable behaviour change
Date: Thu, 26 Nov 2015 09:58:18 +1100	[thread overview]
Message-ID: <20151126095818.1e394395@kryten> (raw)
In-Reply-To: <20151125161616.GA30262@lst.de>

Hi Torsten,

> > -ccflags-y := -Werror
> > +ccflags-y := -Werror -Wno-unused-const-variable
> 
> JFYI, my gcc-4.3 does not like this switch.
> What's the minimum compiler version to build this code?

-Werror is such a moving target. I'm also seeing issues when building
with clang, eg:

drivers/misc/cxl/native.c:223:20: warning: unused function
'detach_spa' [-Wunused-function]

Anton

  reply	other threads:[~2015-11-25 22:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-15  5:48 [PATCH] cxl: Fix build failure due to -Wunused-variable behaviour change Ian Munsie
2015-09-17  5:13 ` Michael Ellerman
2015-11-25 16:16 ` [PATCH] " Torsten Duwe
2015-11-25 22:58   ` Anton Blanchard [this message]
2015-11-25 23:41   ` Michael Ellerman
2015-12-01 14:47     ` Torsten Duwe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151126095818.1e394395@kryten \
    --to=anton@au1$(echo .)ibm.com \
    --cc=duwe@lst$(echo .)de \
    --cc=imunsie@au1$(echo .)ibm.com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=michaele@au1$(echo .)ibm.com \
    --cc=mikey@neuling$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox