From owner-freebsd-current Sun Jul 7 18:14:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8034337B400 for ; Sun, 7 Jul 2002 18:14:37 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EE6B43E3B for ; Sun, 7 Jul 2002 18:14:36 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g681GI0M024294 for ; Sun, 7 Jul 2002 18:16:22 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207080116.g681GI0M024294@gw.catspoiler.org> Date: Sun, 7 Jul 2002 18:15:23 -0700 (PDT) From: Don Lewis Subject: ps fails to build with -Werror To: current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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