🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1592

previous problems with bison and gcc-1.35 compilation

#1592
From: Arthur Wouk
Date: Fri, 05 May 1989 19:37
19 lines
1091 bytes
here is the summary of the error.

	gcc -g -DUSG -c reduce.c
...
reduce.c: In function print_notices:
reduce.c:543: `fixed_outfiles' undeclared (first use this function)
reduce.c:543: (Each undeclared identifier is reported only once
reduce.c:543: for each function it appears in.)
*** Error code 1

Stop.

SOLUTION:

fixed_outfiles is to be declared extern wherever it appears. you
omitted the declaration just prior to line 543 in reduce.c. i found
this by checking all occurences of fixed_outfiles in the code and
seeing that it had been accepted in three preceding modules as
defined. a minor correction produced success in compilation.
Technical Details
Message-ID: <8905051937.AA17008@romeo.cs.duke.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!tut.cis.ohio-state.edu!cs.duke.edu!wouk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rpi!tut.cis.ohio-state.edu!cs.duke.edu!wouk
From: wouk@cs.duke.edu (Arthur Wouk)
Newsgroups: gnu.utils.bug
Subject: previous problems with bison and gcc-1.35 compilation
Message-ID: <8905051937.AA17008@romeo.cs.duke.edu>
Date: 5 May 89 19:37:35 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 19