FS#1107 - parted doesn't compile with gcc 3.4
|
Details
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include
-march=i586 -O2 -pipe -D_REENTRANT -D_FILE_OFFSET_BITS=64
-DLOCALEDIR=\"/usr/share/locale\"
-DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wno-unused
-Wno-switch -Wno-format -Werror -MT ext2.lo -MD -MP -MF
.deps/ext2.Tpo -c ext2.c -fPIC -DPIC -o .libs/ext2.o
In file included from ext2.c:29: ext2.h: In function `ext2_is_data_block': ext2.h:219: warning: passing arg 5 of `ped_assert' discards qualifiers from pointer target type ext2.h:220: warning: passing arg 5 of `ped_assert' discards qualifiers from pointer target type make[3]: *** [ext2.lo] Error 1 make[3]: Leaving directory `/root/build/src/parted-1.6.10/libparted/fs_ext2' It stops building because of the -Werror. |
This task depends upon