Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

wwwxxx0cm, www.webdp.net, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed, sed: -e expression #1, char 1: unterminated address regex, procmail + change subject, w2ksp4.exe download

Links

XODOX
Impressum

#1: mdadm 3.2.1 doesn"t compile with gcc 4.6.0

Posted on 2011-04-26 09:00:17 by Tobias Powalowski

--nextPart2127035.D4yJT9B19a
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi guys,
mdadm.c:106:6: error: variable 'auto_update_home' set but not used [-
Werror=3Dunused-but-set-variable]


any help would be much appreciated.
thanks
greetings
tpowa
=2D-=20
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
tpowa@archlinux.org

--nextPart2127035.D4yJT9B19a
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEABECAAYFAk22bYEACgkQ81yYyRqLOvj/mQCeLSW5G6ICJV8fGX/OKG5I 646J
GAIAn0IUHAcXlCs4TXVoiBF7ZaQiSXjv
=zmZi
-----END PGP SIGNATURE-----

--nextPart2127035.D4yJT9B19a--
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#2: RE: mdadm 3.2.1 doesn"t compile with gcc 4.6.0

Posted on 2011-04-26 18:12:22 by Mike Viau

> On Tue, 26 Apr 2011 09:00:17 +0200 wrote:
>
> Hi guys,
> mdadm.c:106:6: error: variable 'auto_update_home' set but not used [-
> Werror=unused-but-set-variable]
>

I have not grepped the source code for other instances of 'auto_update_home' so it may or may not actually be used.

If its not ever used you can try commenting out the declaration of 'auto_update_home' and then re-compile?

Lastly, you could drop the -Werror=unused-but-set-variable option, as it is turning the warning (which may happen and still compile) into an error (which when happens, will not compile).



-M
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message

#3: Re: mdadm 3.2.1 doesn"t compile with gcc 4.6.0

Posted on 2011-04-27 02:00:27 by NeilBrown

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=7e90264df5 060cd308ce56206ec7dfa29e2aa041

Thanks,
NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Report this message