bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] Re: getdate don't need alloca


From: Simon Josefsson
Subject: [bug-gnulib] Re: getdate don't need alloca
Date: Fri, 17 Dec 2004 19:49:57 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> As far as I can tell, getdate doesn't use alloca.
>
> Look at the .c file that is generated by bison (ca. version 1.30).
> It needs alloca for the token stack.

I'm using bison 1.875a (as shipped by Debian).  Do earlier versions
use alloca unconditionally?  That doesn't sound portable...

Would wrapping the #include inside a #if HAVE_ALLOCA test work?

Thanks.




reply via email to

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