Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!JUNE.CS.WASHINGTON.EDU!pardo From: pardo@JUNE.CS.WASHINGTON.EDU Newsgroups: gnu.utils.bug Subject: Some `bison' building problems Message-ID: <8904281711.AA03745@june.cs.washington.edu> Date: 28 Apr 89 17:11:29 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 24 I am trying to build the latest version of `bison' from yahi.stanford.edu (as of Fri Apr 28 09:00 PDT 1989). `README' says to report all bugs using the current version as named in `ChangeLog'. There is no change log. The 1.34.2 C++ distribution README says that there is a bug in `bison'. The file and line number match, so it may be the same version number. `reduce.c' line 543 uses the global variable `fixed_outfiles'. The file `reduce.c' does not contain an external declaration of `fixed_outfiles', so gcc refuses to compile `reduce.c'. Creating an extern declaration of `fixed_outfiles' in `reduce.c' seems to solve the problem. Several months ago I submitted patches so that `bison' would print its own version number. No such facility exists in the version that I have. I consider this to be a bug. ;-D on ( The joists and rafters are fine ) Pardo pardo@cs.washington.edu {rutgers,cornell,ucsd,ubc-cs,tektronix}!uw-beaver!june!pardo