From owner-cvs-all Mon Jul 15 2:53:48 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95B4837B401; Mon, 15 Jul 2002 02:53:35 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15AFD43E5E; Mon, 15 Jul 2002 02:53:34 -0700 (PDT) (envelope-from bde@zeta.org.au) 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 TAA25189; Mon, 15 Jul 2002 19:53:24 +1000 Date: Mon, 15 Jul 2002 19:56:54 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Dag-Erling Smorgrav Cc: Alfred Perlstein , , Subject: Re: cvs commit: src/usr.bin/tail Makefile tail.c In-Reply-To: Message-ID: <20020715195202.G39908-100000@gamplex.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 15 Jul 2002, Dag-Erling Smorgrav wrote: > Alfred Perlstein writes: > > Log: > > WARNS=4, add > > ===> usr.bin/tail > cc -O -pipe -mcpu=ev56 -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /usr/src/usr.bin/tail/forward.c > cc -O -pipe -mcpu=ev56 -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wno-uninitialized -c /usr/src/usr.bin/tail/misc.c > cc1: warnings being treated as errors > /usr/src/usr.bin/tail/misc.c: In function `mapprint': > /usr/src/usr.bin/tail/misc.c:84: warning: comparison between signed and unsigned > /usr/src/usr.bin/tail/misc.c: In function `maparound': > /usr/src/usr.bin/tail/misc.c:114: warning: comparison between signed and unsigned > *** Error code 1 > > Stop in /usr/src/usr.bin/tail. The commit log "clearly" promises to add warnings :-). There are only warnings on (most) arches where sizeof(size_t) >= sizeof(off_t) ([no] thanks to ISO C's sign-clobbering promotion rules). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message