[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: Wed, 3 Jan 2001 11:08:43 +0100

At 15:09 -0500 1-01-02, Yair Lenga wrote:
>I think that most people would not mind that the code will
>include both stdlib and alloca for the unix* compilations:
>#   if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) ||
>defined (__sparc) || defined (__sgi) || (defined (__sun) && defined
>#    include <alloca.h>
>#    include <stdlib.h>        <<< To solve the 'free' prototype problem >>>
>#   else /* not sparc */

You will have to wait for Akim Demaille (which I think is on vacation right

But there is no point in using both free & alloca, as they both do the
same, providing dynamic allocations. (Check the bug-bison or help-bison
archives for descriptions of alloca.) Therefore defining YYSTACK_USE_ALLOCA
should still be an option.

  Hans Aberg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]