Bug#373802: FTBFS with GCC 4.2: cast from pointer to integer of different size

Martin Michlmayr tbm at cyrius.com
Thu Jun 15 15:57:52 UTC 2006


Package: mdadm
Version: 2.4.1-6

Now it fails with the following error with GCC 4.2.  Fortunately, this
is the only remaining problem.

> Automatic build of mdadm_2.4.1-6 on juist by sbuild/alpha 0.44
...
> gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm.conf\" -ggdb -fno-strict-aliasing -Os -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o super1.o super1.c
> cc1: warnings being treated as errors
> super1.c: In function 'calc_sb_1_csum':
> super1.c:118: warning: cast from pointer to integer of different size
> super1.c:119: warning: cast from pointer to integer of different size
> make[1]: *** [super1.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the pkg-mdadm-devel mailing list