Subject: Re: Jan 21 build fails
To: Ken Nakata <kenn@synap.ne.jp>
From: Matthew Jacob <mjacob@feral.com>
List: current-users
Date: 01/22/1999 20:14:34
This bit me too. You have to not only update your lex, but make sure you
clean out any old nslexer.c (derived from nslexer.l) as well.

On Sat, 23 Jan 1999, Ken Nakata wrote:

> Hi,
> 
> On the current supped on Jan. 21, "make build" fails at:
> 
> cc -O2 -DALL_STATE  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/koo/s/src/lib/libc/include -D__DBINTERFACE_PRIVATE -DRESOLVSORT -I. -DPOSIX_MISTAKE -DFLOATING_POINT -c nslexer.c
> cc1: warnings being treated as errors
> nslexer.c: In function `_nsyylex':
> nslexer.c:704: warning: label `find_rule' defined but not used
> nslexer.c: At top level:
> nslexer.c:1674: warning: `yy_flex_realloc' defined but not used
> *** Error code 1
> 
> Stop.
> 
> Can I just comment out these labels?  Or has my source tree somehow
> got out of order?
> 
> Thanks,
> 
> Ken
>