linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: NeilBrown <neilb@suse.de>
To: Tobias Powalowski <t.powa@gmx.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: mdadm 3.2.1 doesn't compile with gcc 4.6.0
Date: Wed, 27 Apr 2011 10:00:27 +1000	[thread overview]
Message-ID: <20110427100027.11c1161b@notabene.brown> (raw)
In-Reply-To: <201104260900.20791.t.powa@gmx.de>

On Tue, 26 Apr 2011 09:00:17 +0200 Tobias Powalowski <t.powa@gmx.de> wrote:

> Hi guys,
> mdadm.c:106:6: error: variable 'auto_update_home' set but not used [-
> Werror=unused-but-set-variable]
> 
> 
> any help would be much appreciated.
> thanks
> greetings
> tpowa

Thanks for the report.

If you build with
  make CWFLAGS=

it will not treat warnings as errors and it should successfully compile.

I have committed a fix:

http://neil.brown.name/git?p=mdadm;a=commitdiff;h=7e90264df5060cd308ce56206ec7dfa29e2aa041

Thanks,
NeilBrown

  reply	other threads:[~2011-04-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-26  7:00 mdadm 3.2.1 doesn't compile with gcc 4.6.0 Tobias Powalowski
2011-04-27  0:00 ` NeilBrown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-04-26 16:12 Mike Viau

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=20110427100027.11c1161b@notabene.brown \
    --to=neilb@suse.de \
    --cc=linux-raid@vger.kernel.org \
    --cc=t.powa@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).