Subject: Re: Build errors
To: Krister Walfridsson <cato@df.lth.se>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 07/14/1997 15:49:51
On Mon, 14 Jul 1997 22:05:30 +0200 (MET DST) 
 Krister Walfridsson <cato@df.lth.se> wrote:

 > I've got some errors when building yacc generated source in sh and ftpd:

Rebuild/install yacc, then rebuild sh and ftpd (after a "make clean" in
those directories).

 > 
 > 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
 > 
 > 
 >    /Krister
 > 

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939