RE: mdadm 3.2.1 doesn't compile with gcc 4.6.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux