From owner-cvs-all Tue Nov 6 1:40: 7 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 3045637B416; Tue, 6 Nov 2001 01:40:03 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id DBE8914C40; Tue, 6 Nov 2001 10:40:01 +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> From: Dag-Erling Smorgrav Date: 06 Nov 2001 10:40:01 +0100 In-Reply-To: <200111060932.aa61827@salmon.maths.tcd.ie> Message-ID: Lines: 12 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: > > +WARNS?= 2 > Unfortunately cmp uses printf to output offsets into a file > and gcc doesn't like the use of %q. Do we have a way around > this? (Other than that cmp is ready for WARNS?=2.) 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. 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