Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!iuvax!ames!rochester!moscom!jgp From: iuvax!ames!rochester!moscom!jgp@WHEATIES.AI.MIT.EDU (Jim Prescott) Newsgroups: gnu.utils.bug Subject: bugfix for bison Message-ID: <8904070613.AA28926@moscom.uucp> Date: 7 Apr 89 06:13:24 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 17 >Send bug reports to bug-gnu-utils@prep.ai.mit.edu. >Please include the date and author of the last entry in ChangeLog >in each bug report; this serves as a version number for Bison. I don't see anything that looks like a changelog. The date of the file on prep was probably: -r--r--r-- 1 james src 219145 Mar 15 14:03 bison.tar.Z In reduce.c the routine print_notices() uses the external fixed_outfiles without it being in scope. While the sun cc didn't care, gcc does. The fix is to add the line: extern int fixed_outfiles; at the beginning of print_notices(). Searching for fixed_outfiles in reduce.c will also show a useless declaration in some other function. -- Jim Prescott moscom!jgp@cs.rochester.edu {rutgers,ames,harvard}!rochester!moscom!jgp