Subject: Re: Build errors
To: None <cato@df.lth.se>
From: Mike Long <mikel@shore.net>
List: current-users
Date: 07/14/1997 16:20:05
>Date: Mon, 14 Jul 1997 22:05:30 +0200 (MET DST)
>From: Krister Walfridsson <cato@df.lth.se>
>
>I've got some errors when building yacc generated source in sh and ftpd:
>
>cc -O -DSHELL -I. -I/usr/src/bin/sh -Werror -Wall -Wstrict-prototypes
>-Wmissing-prototypes -c arith.c
>cc1: warnings being treated as errors
>y.tab.c:395: warning: function declaration isn't a prototype
>y.tab.c: In function `yyparse':
>y.tab.c:497: warning: label `yyerrlab' defined but not used
>y.tab.c:492: warning: label `yynewerror' defined but not used
>arith.c: At top level:
>arith.c:5: warning: `yyrcsid' defined but not used
>*** Error code 1
# (cd ../../usr.bin/yacc; make install BUILD= UPDATE=)
# make clean && make
--
Mike Long <mikel@shore.net> http://www.shore.net/~mikel
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken