🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Scott R. Anderson Fri, 17 Feb 1989 16:00
bison under SunOS 4
#1492
Author: 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
    * *      * *    * **
     *        *      *  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads