[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler Problems w/Bison 1.28 on SGI/IRIX65
From: |
Hans Aberg |
Subject: |
Re: Compiler Problems w/Bison 1.28 on SGI/IRIX65 |
Date: |
Tue, 2 Jan 2001 20:16:23 +0100 |
At 11:41 -0500 1-01-02, Yair Lenga wrote:
>I was trying to upgrade my bison (from 1.25 to 1.28). I found the
>following two compilation problem - fixed them on my SGI. I will
>appreciate if you can incorporate those changes into future releases of
>Bison:
Try the bison (latest development) version available at
ftp://alpha.gnu.org/gnu/cvs/
to see if you get the same problems.
For my MacOS port, using this latest Bison version, I had to throw in
#if __MWERKS__ && macintosh
#define YYSTACK_USE_ALLOCA
#include <alloca.h>
#endif
right before the first
#ifndef YYSTACK_USE_ALLOCA
For th version before that, I had to put in an extra stdlib.h include, as
follows:
#if __MWERKS__ && macintosh
#define YYSTACK_USE_ALLOCA
#include <alloca.h>
#include <stdlib.h>
#endif
-- I only checked when compiling as C++.
Hans Aberg