mdadm 3.2.1 doesn't compile with gcc 4.6.0
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
Signature · 4 lines
Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org [email protected]
Quoted 9 lines · On Tue, 26 Apr 2011 09:00:17 +0200 Tobias Powalowski <[email protected]> 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