Subject: Re: make build error with Mar 23, 96
To: Roland C Dowdeswell <roland@imrryr.org>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 03/25/1996 12:06:04
>>I tried to make build with Mar 23, 96 source, I got the following error
>>
>>======= Error =======
>>cc1plus: warnings being treated as errors
>>y.tab.c: In function `int yygrowstack()':
>>y.tab.c:3413: warning: ANSI C++ forbids implicit conversion from `void
>>*' in assignment
>>y.tab.c:3417: warning: ANSI C++ forbids implicit conversion from `void
>>*' in assignment
>>*** Error code 1
>[...]
>Yes, I got the same error.  I just did a temp 'fix' by putting a
> (short *) and a (YYSTYPE *) before two reallocs in the files
>gnu/usr.bin/groff/pic/pic.cc,
>gnu/usr.bin/groff/eqn/eqn.cc, and I think that last one was
>gnu/usr.bin/groff/refer/label.cc.

The problem was fixed in yacc in the latest sources.  If you sup, re-install
yacc, and delete these cc files there won't be a problem.

--Ken