From owner-cvs-all Wed Nov 7 16:58:43 2001 Delivered-To: cvs-all@freebsd.org Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by hub.freebsd.org (Postfix) with ESMTP id 1EFCF37B417; Wed, 7 Nov 2001 16:58:30 -0800 (PST) Received: from zidane.cc.vt.edu (IDENT:mirapoint@zidane-lb.cc.vt.edu [10.1.1.13]) by lennier.cc.vt.edu (8.11.4/8.11.4) with ESMTP id fA80wMd36747; Wed, 7 Nov 2001 19:58:22 -0500 (EST) Received: from mail.vt.edu (gkar.cc.vt.edu [198.82.161.190]) by zidane.cc.vt.edu (Mirapoint) with ESMTP id AEL90759; Wed, 7 Nov 2001 19:58:20 -0500 (EST) Received: from enterprise.muriel.penguinpowered.com ([198.82.100.125]) by gkar.cc.vt.edu (Sun Internet Mail Server sims.3.5.2001.05.04.11.50.p10) with ESMTP id <0GMG00A6OIP885@gkar.cc.vt.edu>; Wed, 7 Nov 2001 19:58:20 -0500 (EST) Date: Wed, 07 Nov 2001 19:58:20 -0500 (EST) From: Mike Heffner Subject: Re: cvs commit: src/usr.bin/cmp Makefile In-reply-to: To: Dag-Erling Smorgrav Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, David Malone Message-id: MIME-version: 1.0 X-Mailer: XFMail 1.5.2 on FreeBSD Content-type: multipart/signed; boundary="_=XFMail.1.5.2.FreeBSD:20011107195820:424=_"; micalg=pgp-md5; protocol="application/pgp-signature" X-Priority: 3 (Normal) 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 This message is in MIME format --_=XFMail.1.5.2.FreeBSD:20011107195820:424=_ Content-Type: text/plain; charset=us-ascii On 06-Nov-2001 Dag-Erling Smorgrav wrote: | 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. It breaks on alpha. | | Well yes, -Wall is part of WARNS=2: > uname -a FreeBSD beast.freebsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Oct 30 05:10:54 PST 2001 jkh@beast.freebsd.org:/j/obj/usr/src/sys/BEAST alpha > make Warning: Object directory not changed from original /.amd_mnt/freefall/host/d/home/mikeh/work/src/usr.bin/cmp cc -O -pipe -mcpu=ev5 -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 -mcpu=ev5 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c misc.c cc1: warnings being treated as errors misc.c: In function `diffmsg': misc.c:65: warning: long long int format, off_t arg (arg 4) misc.c:65: warning: long long int format, off_t arg (arg 5) *** Error code 1 Stop in /.amd_mnt/freefall/host/d/home/mikeh/work/src/usr.bin/cmp. Mike -- Mike Heffner Blacksburg, VA --_=XFMail.1.5.2.FreeBSD:20011107195820:424=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE76dirFokZQs3sv5kRApMXAJ9P0b8rfcGRPltZlhErltg5grIgyQCfY97a 5R5ty0Av9DBZCNkAjswRQ58= =v07l -----END PGP SIGNATURE----- --_=XFMail.1.5.2.FreeBSD:20011107195820:424=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message