🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1492

bison under SunOS 4

#1492
From: Scott R. Anderson
Date: Fri, 17 Feb 1989 16:00
21 lines
1403 bytes
Under Sun OS 4.x, the definition of alloca() must be obtained from the alloca.h
file, which is not true on BSD4.3 systems.  When using the program bison, I
find the C output contains references to alloca(), but does not contain the
necessary alloca.h reference to go with it. I therefore need to explicitly
include it in my .y file, which should not be necessary.  The local bison
sources have two files which use alloca, but (in what I believe is a local mod)
alloca.h *is* referenced:

#ifdef sparc
#include <alloca.h>
#endif

It appears that a similar reference should be included around line 115 of
bison.simple.  However, I suggest something less restrictive than sparc, which
of course will only be true for Sun-4's.

*
  *      **                  Scott Robert Anderson      gatech!emoryu1!phssra
   *   *    *    **          phssra@unix.cc.emory.edu   phssra@emoryu1.bitnet
    * *      * *    * **
     *        *      *  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Technical Details
Message-ID: <8902171600.AA28617@emoryu1.cc.emory.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unix.cc.emory.edu!phssra

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unix.cc.emory.edu!phssra
From: phssra@unix.cc.emory.edu (Scott R. Anderson)
Newsgroups: gnu.utils.bug
Subject: bison under SunOS 4
Message-ID: <8902171600.AA28617@emoryu1.cc.emory.edu>
Date: 17 Feb 89 16:00:06 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 21