From owner-cvs-all Tue Aug 21 5:30:11 2001 Delivered-To: cvs-all@freebsd.org Received: from oahu.WURLDLINK.NET (oahu.WURLDLINK.NET [216.235.52.1]) by hub.freebsd.org (Postfix) with ESMTP id 166C737B408; Tue, 21 Aug 2001 05:30:00 -0700 (PDT) (envelope-from vince@oahu.WURLDLINK.NET) Received: from localhost (vince@localhost) by oahu.WURLDLINK.NET (8.11.3/8.11.3) with ESMTP id f7LCTwi10297; Tue, 21 Aug 2001 02:29:58 -1000 (HST) (envelope-from vince@oahu.WURLDLINK.NET) Date: Tue, 21 Aug 2001 02:29:57 -1000 (HST) From: Vincent Poy To: Brian Somers Cc: , Subject: Re: cvs commit: src/usr.bin/apply apply.c In-Reply-To: <200108211124.f7LBOrw23582@freefall.freebsd.org> Message-ID: <20010821022923.D4347-100000@oahu.WURLDLINK.NET> 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 Tue, 21 Aug 2001, Brian Somers wrote: > brian 2001/08/21 04:24:53 PDT > > Modified files: > usr.bin/apply apply.c > Log: > Remove unnecessary casts. > > The original (1.16) code was mostly correct, but this version is > far clearer. > > Casts suggested to now be obfuscations by: bde > > Revision Changes Path > 1.18 +5 -5 src/usr.bin/apply/apply.c This one breaks apply from compiling... cc -O -pipe -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c /usr/src/usr.bin/apply/apply.c cc1: warnings being treated as errors /usr/src/usr.bin/apply/apply.c: In function `main': /usr/src/usr.bin/apply/apply.c:146: warning: comparison between signed and unsigned /usr/src/usr.bin/apply/apply.c:152: warning: comparison between signed and unsigned /usr/src/usr.bin/apply/apply.c:166: warning: comparison between signed and unsigned /usr/src/usr.bin/apply/apply.c:199: warning: comparison between signed and unsigned *** Error code 1 Stop in /usr/src/usr.bin/apply. Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message