Bug#625392: mdadm: ftbfs with gcc-4.6 -Werror

2011-07-13 Thread Maxime Chatelle
Hi, Sorry, with holidays, I lack of time. Attached, a patch that comment out all unused variables and associated code. This patch is mainly for stable because the to-be-packaged version (3.2.2) dont appear to have this issue (just quick checked, I'm not sure) It build fine with the patch and

Bug#625392: mdadm: ftbfs with gcc-4.6 -Werror

2011-07-03 Thread martin f krafft
also sprach Maxime Chatelle m...@gmx.com [2011.07.03.0346 +0200]: I reviewed these unused variables. None can cause problem in mdadm. I propose to simply remove -Werror from upstream Makefile, failing to build on warning don't make code better. But, if you think is better to comment out these

Bug#625392: mdadm: ftbfs with gcc-4.6 -Werror

2011-07-02 Thread Maxime Chatelle
tags 625392 confirmed quit Hi, I reviewed these unused variables. None can cause problem in mdadm. I propose to simply remove -Werror from upstream Makefile, failing to build on warning don't make code better. But, if you think is better to comment out these variables and associated dead