From: Neil Brown <neilb@suse.de>
To: Thomas Jarosch <thomas.jarosch@intra2net.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: ANNOUNCE: mdadm 2.6.2 - A tool for managing Soft RAID under Linux
Date: Wed, 30 May 2007 06:49:40 +1000 [thread overview]
Message-ID: <18012.37348.161496.473678@notabene.brown> (raw)
In-Reply-To: message from Thomas Jarosch on Tuesday May 29
On Tuesday May 29, thomas.jarosch@intra2net.com wrote:
> Hello Neil,
>
> On Monday, 21. May 2007, you wrote:
> > I am pleased to announce the availability of
> > mdadm version 2.6.2
>
> Thanks for releasing mdadm 2.6.2. It contains a fix for "--test"
> I was looking for right at the moment :-)
>
> mdadm fails to compile if you enable "-O2" using gcc 4.1.1 because of -Werror:
>
> cc1: warnings being treated as errors
> sysfs.c: In function 'sysfs_read':
> sysfs.c:97: warning: value computed is not used
> sysfs.c:119: warning: value computed is not used
> sysfs.c:127: warning: value computed is not used
> sysfs.c:133: warning: value computed is not used
> sysfs.c:139: warning: value computed is not used
> sysfs.c:178: warning: value computed is not used
Those are bogus warnings. Each is
strcpy(base, "xxxxx");
and base most certainly is used., though I can see how gcc might not
notice if it is being too clever. Maybe you need to get gcc-4.1.2?
or
make CWFLAGS=-Wall
Thanks for the report.
NeilBrown
next prev parent reply other threads:[~2007-05-29 20:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 4:55 ANNOUNCE: mdadm 2.6.2 - A tool for managing Soft RAID under Linux Neil Brown
2007-05-29 16:29 ` Thomas Jarosch
2007-05-29 20:49 ` Neil Brown [this message]
2007-05-30 6:23 ` Holger Kiehl
2007-05-30 9:43 ` Thomas Jarosch
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=18012.37348.161496.473678@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=thomas.jarosch@intra2net.com \
/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).