Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2001 02:29:57 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Brian Somers <brian@FreeBSD.ORG>
Cc:        <cvs-committers@FreeBSD.ORG>, <cvs-all@FreeBSD.ORG>
Subject:   Re: cvs commit: src/usr.bin/apply apply.c
Message-ID:  <20010821022923.D4347-100000@oahu.WURLDLINK.NET>
In-Reply-To: <200108211124.f7LBOrw23582@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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