From owner-cvs-all Fri Nov 9 21:55:51 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3D04A37B405; Fri, 9 Nov 2001 21:55:46 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id QAA32511; Sat, 10 Nov 2001 16:55:35 +1100 Date: Sat, 10 Nov 2001 16:54:27 +1100 (EST) From: Bruce Evans X-X-Sender: To: Dag-Erling Smorgrav Cc: Mike Heffner , , , David Malone Subject: Re: cvs commit: src/usr.bin/cmp Makefile In-Reply-To: Message-ID: <20011110164900.D15842-100000@delplex.bde.org> 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 On 9 Nov 2001, Dag-Erling Smorgrav wrote: > Bruce Evans writes: > > misc.c: In function `diffmsg': > > misc.c:65: warning: ANSI C does not support `long long' > > misc.c:65: warning: ANSI C does not support `long long' > > This is a compiler bug. No, it would be a compiler bug if this error were not diagnosed. `long long' is not supported in ANSI C (C90). > > misc.c:65: warning: ANSI C does not support the `q' length modifier > > misc.c:65: warning: ANSI C does not support the `q' length modifier > > Use %lld instead of %qd. Sure, in unportable code that uses `long long'. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message