On Tue, Sep 10, 2002 at 05:09:55PM -0700, walt wrote: > cc -O -pipe -mcpu=pentiumpro -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/uudecode/uudecode.c > cc1: warnings being treated as errors > /usr/src/usr.bin/uudecode/uudecode.c: In function `decode2': > /usr/src/usr.bin/uudecode/uudecode.c:225: warning: comparison between signed and >unsigned > /usr/src/usr.bin/uudecode/uudecode.c:275: syntax error before "ch" > /usr/src/usr.bin/uudecode/uudecode.c:286: syntax error before "ch" > /usr/src/usr.bin/uudecode/uudecode.c:294: syntax error before "ch" > /usr/src/usr.bin/uudecode/uudecode.c:301: syntax error before "ch" > *** Error code 1
Try this patch: --- uudecode.c.orig Tue Sep 10 20:26:48 2002 +++ uudecode.c Tue Sep 10 20:29:44 2002 @@ -153,7 +153,7 @@ decode2(void) { int base64; - int n; + size_t n; char ch, *p, *q; void *mode; struct passwd *pw; @@ -258,7 +258,7 @@ warnx("%s: %s: character out of range: [%d-%d]", \ filename, buffn, 1 + ' ', 077 + ' ' + 1); \ return (1); \ -} while (0) +} while (0); /* * `n' is used to avoid writing out all the characters -- Craig Rodrigues http://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message