Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2001 19:58:20 -0500 (EST)
From:      Mike Heffner <mheffner@vt.edu>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        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:  <XFMail.20011107195820.mheffner@vt.edu>
In-Reply-To: <xzpg07sb5b9.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <dwmalone@maths.tcd.ie> 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     <mheffner@[acm.]vt.edu>
  Blacksburg, VA       <mikeh@FreeBSD.org>


--_=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20011107195820.mheffner>