Subject: Re: Build errors
To: None <>
From: Mike Long <>
List: current-users
Date: 07/14/1997 16:20:05
>Date: Mon, 14 Jul 1997 22:05:30 +0200 (MET DST)
>From: Krister Walfridsson <>
>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
> warning: function declaration isn't a prototype
> In function `yyparse':
> warning: label `yyerrlab' defined but not used
> 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 <>      
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken