From owner-cvs-all Tue Nov 6 1:46: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 32A1C37B405; Tue, 6 Nov 2001 01:46:04 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id C85AE14C40; Tue, 6 Nov 2001 10:46:02 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: David Malone Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/cmp Makefile References: <200111060932.aa61827@salmon.maths.tcd.ie> <20011106094225.A80593@walton.maths.tcd.ie> From: Dag-Erling Smorgrav Date: 06 Nov 2001 10:46:02 +0100 In-Reply-To: <20011106094225.A80593@walton.maths.tcd.ie> Message-ID: Lines: 36 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Malone writes: > On Tue, Nov 06, 2001 at 10:40:01AM +0100, Dag-Erling Smorgrav wrote: > > I don't understand - I have no trouble at all building cmp(1) at WARNS > > level 2. And if %qd bothers you, use PRIuMAX and a cast to uintmax_t. > I must have been testing it with -Wall and WARNS=2. Well yes, -Wall is part of WARNS=2: des@des /usr/src/usr.bin/cmp% uname -a FreeBSD des.thinksec.com 5.0-CURRENT FreeBSD 5.0-CURRENT #117: Sat Nov 3 19:09:28 CET 2001 des@des.thinksec.com:/usr/src/sys/i386/compile/DES i386 des@des /usr/src/usr.bin/cmp% which gcc /usr/bin/gcc des@des /usr/src/usr.bin/cmp% gcc --version 2.95.3 des@des /usr/src/usr.bin/cmp% make cleandir && make cleandir && make depend && make rm -f cmp cmp.o misc.o regular.o special.o cmp.1.gz cmp.1.cat.gz rm -f .depend /usr/src/usr.bin/cmp/GPATH /usr/src/usr.bin/cmp/GRTAGS /usr/src/usr.bin/cmp/GSYMS /usr/src/usr.bin/cmp/GTAGS rm -f cmp cmp.o misc.o regular.o special.o cmp.1.gz cmp.1.cat.gz rm -f .depend /usr/src/usr.bin/cmp/GPATH /usr/src/usr.bin/cmp/GRTAGS /usr/src/usr.bin/cmp/GSYMS /usr/src/usr.bin/cmp/GTAGS rm -f .depend mkdep -f .depend -a cmp.c misc.c regular.c special.c cd /usr/src/usr.bin/cmp; make _EXTRADEPEND echo cmp: /usr/lib/libc.a >> .depend Warning: Object directory not changed from original /usr/src/usr.bin/cmp cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c cmp.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c misc.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c regular.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c special.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -o cmp cmp.o misc.o regular.o special.o gzip -cn cmp.1 > cmp.1.gz Maybe you threw -pedantic into the fray or something? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message