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: Sat, 18 Dec 2004 17:28:51 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Using the last patch from Bruno (I agree with all discussion leading
up to it), I get an error:

getdate.c:873:29: missing binary operator before token "("

The offending line is:

#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0

Recalling

# define YYMAXDEPTH ((4032 - sizeof (YYSTYPE)) / (sizeof (short) + sizeof 
(YYSTYPE)))

it seems YYMAXDEPTH cannot use the sizeof keyword.

Not using alloca is still an option, I'm not sure what the other
options are.

Thanks.





reply via email to

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