df.c breaks compilation (unsigned and signed problem)

Giovanni P. Tirloni gpt at tirloni.org
Thu Dec 11 12:12:00 PST 2003


Hi,

 Sorry if this has been reported before. I've just cvsup'ed some minutes ago (4:00 PM GMT).

root at neutrino:/usr/src/bin/df# make clean
rm -f df df.o vfslist.o df.1.gz df.1.cat.gz
root at neutrino:/usr/src/bin/df# make 
cc -O -pipe -mcpu=pentiumpro -I/usr/src/bin/df/../../sbin/mount -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -c /usr/src/bin/df/df.c
/usr/src/bin/df/df.c: In function `prtstat':
/usr/src/bin/df/df.c:450: warning: comparison between signed and unsigned
/usr/src/bin/df/df.c:452: warning: comparison between signed and unsigned
/usr/src/bin/df/df.c:454: warning: comparison between signed and unsigned
/usr/src/bin/df/df.c: In function `update_maxwidths':
/usr/src/bin/df/df.c:485: warning: comparison between signed and unsigned
/usr/src/bin/df/df.c:486: warning: comparison between signed and unsigned
/usr/src/bin/df/df.c:488: warning: comparison between signed and unsigned
*** Error code 1

Stop in /usr/src/bin/df.
root at neutrino:/usr/src/bin/df# 

 --
 Giovanni P. Tirloni <gpt at tirloni.org>
 Fingerprint: 8C3F BEC5 79BD 3E9B EDB8  72F4 16E8 BA5E D031 5C26


More information about the freebsd-current mailing list