Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2001 16:54:27 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        Mike Heffner <mheffner@vt.edu>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>, David Malone <dwmalone@maths.tcd.ie>
Subject:   Re: cvs commit: src/usr.bin/cmp Makefile
Message-ID:  <20011110164900.D15842-100000@delplex.bde.org>
In-Reply-To: <xzp4ro3rfdl.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9 Nov 2001, Dag-Erling Smorgrav wrote:

> Bruce Evans <bde@zeta.org.au> 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




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