Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 May 2003 01:26:44 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        src-committers@freebsd.org, cvs-src@freebsd.org, 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:  <20030504222644.GC75721@gothmog.gr>
In-Reply-To: <20030504154451.GA10690@dragon.nuxi.com>
References:  <20030503212154.GA4826@gothmog.gr> <200305032130.h43LUJ8c022020@grimreaper.grondar.org> <20030503214427.GA5192@gothmog.gr> <20030504011752.GA50067@dragon.nuxi.com> <20030504124353.GA699@gothmog.gr> <20030504154451.GA10690@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-05-04 08:44, David O'Brien <obrien@freebsd.org> wrote:
>On Sun, May 04, 2003 at 12:44:27AM +0300, Giorgos Keramidas wrote:
>>: giorgos@gothmog[00:36]/a/freebsd/src/bin/ps$ rm print.o
>>: giorgos@gothmog[00:36]/a/freebsd/src/bin/ps$ make WARNS=0 print.o
>>: cc -O2 -Wall -pipe -DLAZY_PS    -c print.c
>>: print.c: In function `started':
>>: print.c:405: warning: `%y' yields only last 2 digits of year
>>: print.c: In function `lstarted':
>>: print.c:422: warning: `%c' yields only last 2 digits of year in some locales on non-BSD systems
>>:
>>: giorgos@gothmog[00:36]/a/freebsd/src/bin/ps$ rm print.o
>>: giorgos@gothmog[00:36]/a/freebsd/src/bin/ps$ make WARNS=1 print.o
>>: cc -O2 -Wall -pipe -DLAZY_PS   -Wsystem-headers -Werror  -c print.c
>
> But the meat of it is how are you getting -Wall and not
> -Wno-format-y2k?

Argh!  My environment had CFLAGS that included -Wall :(

David, and everyone else who replied, thanks for your help;
I'm sorry for wasting your time.



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