Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 23:55:00 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mark Murray <markm@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/bin/ls extern.h ls.c print.c util.c src/bin/pax ar_io.c ar_subs.c cache.c cpio.c extern.h gen_subs.c getoldopt.c options.c pat_rep.c pax.c pax.h src/bin/ps fmt.c src/bin/rcp rcp.c
Message-ID:  <20030503205500.GB3907@gothmog.gr>
In-Reply-To: <200305031639.h43GdYQ4049867@repoman.freebsd.org>
References:  <200305031639.h43GdYQ4049867@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-03 09:39, Mark Murray <markm@FreeBSD.org> wrote:
>   Modified files:
>     bin/ls               extern.h ls.c print.c util.c
>     [...]
>   Log:
>   Fix a bazillion warnings. This makes almost the whole of src/bin/*
>   WARNS=6, std=c99 clean.

Now that you mentioned src/bin/...
FWIW, my recent buildworlds break at bin/ps.

| ===> bin/ps
| cc -O2 -Wall -pipe -DLAZY_PS   -Wsystem-headers -Werror  -c /usr/src/bin/ps/fmt.c
| cc -O2 -Wall -pipe -DLAZY_PS   -Wsystem-headers -Werror  -c /usr/src/bin/ps/keyword.c
| cc -O2 -Wall -pipe -DLAZY_PS   -Wsystem-headers -Werror  -c /usr/src/bin/ps/nlist.c
| cc -O2 -Wall -pipe -DLAZY_PS   -Wsystem-headers -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:405: warning: `%y' yields only last 2 digits of year
| /usr/src/bin/ps/print.c: In function `lstarted':
| /usr/src/bin/ps/print.c:422: warning: `%c' yields only last 2 digits of year in some locales on non-BSD systems
| *** Error code 1

I locally disabled WARNS for ps(1) until I make sure it's not some local
stuff that broke it:

Index: bin/ps/Makefile
===================================================================
RCS file: /home/ncvs/src/bin/ps/Makefile,v
retrieving revision 1.23
diff -u -r1.23 Makefile
--- bin/ps/Makefile	2 May 2003 01:05:05 -0000	1.23
+++ bin/ps/Makefile	3 May 2003 11:24:16 -0000
@@ -9,7 +9,7 @@
 # keep ps from being an unnecessary load
 # on large systems.
 #
-WARNS=	1
+WARNS=	0
 WFORMAT=0
 CFLAGS+=-DLAZY_PS
 DPADD=	${LIBM} ${LIBKVM}



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