Subject: Re: errors in build from sup 1997/06/21 (libexec/ftpd)
To: Erik E. Fair <fair@clock.org>
From: Curt Sampson <cjs@portal.ca>
List: current-users
Date: 06/21/1997 17:50:55
On Sat, 21 Jun 1997, Erik E. Fair wrote:
> NetBSD/sparc
> -----------------------------------------------------------------------
> ===> libexec/ftpd
> cc -O -DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Werror -c conf.c
> cc1: warnings being treated as errors
> conf.c: In function `do_conversion':
> conf.c:409: warning: `base' might be used uninitialized in this function
> *** Error code 1
>
> Stop.
I get this too. I've not looked into it, yet.
> -----------------------------------------------------------------------
> NetBSD/sun3
> -----------------------------------------------------------------------
> ==> libexec/ftpd
> cc -O -DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Werror -nostdinc -idirafter /altroot/usr/include -c
> ftpcmd.c
> cc1: warnings being treated as errors
> y.tab.c:960: warning: function declaration isn't a prototype
> y.tab.c:991: warning: function declaration isn't a prototype
> y.tab.c: In function `yyparse':
> y.tab.c:1062: warning: label `yyerrlab' defined but not used
> y.tab.c:1057: warning: label `yynewerror' defined but not used
> ftpcmd.c: At top level:
> ftpcmd.c:5: warning: `yyrcsid' defined but not used
> *** Error code 1
>
> Stop.
I think this is due to Christos turning on a lot of extra warnings
for the ftpd build, and you not having the latest yacc, which
generates ANSI prototypes on the code. Or so I'm told. :-)
cjs
Curt Sampson cjs@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc. `And malt does more than Milton can
Vancouver, BC (604) 257-9400 To justify God's ways to man.'