Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2002 18:15:23 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        current@FreeBSD.ORG
Subject:   ps fails to build with -Werror
Message-ID:  <200207080116.g681GI0M024294@gw.catspoiler.org>

next in thread | raw e-mail | index | archive | help
This should be lots of fun for someone to fix ...

===> bin/ps
cc -O -pipe  -DLAZY_PS   -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror  -c /usr/src/bin/ps/fmt.c
cc -O -pipe  -DLAZY_PS   -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror  -c /usr/src/bin/ps/keyword.c
cc -O -pipe  -DLAZY_PS   -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror  -c /usr/src/bin/ps/nlist.c
cc -O -pipe  -DLAZY_PS   -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wformat=2 -Wno-format-extra-args -Werror  -c /usr/src/bin/ps/print.c
cc1: warnings being treated as errors
/usr/src/bin/ps/print.c: In function `started':
/usr/src/bin/ps/print.c:400: warning: `%y' yields only last 2 digits of year
/usr/src/bin/ps/print.c: In function `lstarted':
/usr/src/bin/ps/print.c:417: warning: `%c' yields only last 2 digits of year in some locales on non-BSD systems
/usr/src/bin/ps/print.c: In function `printval':
/usr/src/bin/ps/print.c:686: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:689: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:692: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:695: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:698: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:701: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:704: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:707: warning: format not a string literal, argument types not checked
/usr/src/bin/ps/print.c:710: warning: format not a string literal, argument types not checked
*** Error code 1

Stop in /usr/src/bin/ps.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207080116.g681GI0M024294>