After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 66991 - "#define YYSTACK_USE_ALLOCA" breaks pristine bison
"#define YYSTACK_USE_ALLOCA" breaks pristine bison
Status: RESOLVED FIXED
Product: bonobo-activation [was: oaf]
Classification: Deprecated
Component: general
unspecified
Other Solaris
: Normal blocker
: ---
Assigned To: Maciej Stachowiak
Maciej Stachowiak
: 69072 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-12-15 05:04 UTC by Tomas Forsman
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tomas Forsman 2001-12-15 05:04:22 UTC
bonobo-activation v0.9.3:

activation-context-query-parser.y has the following define:
#define YYSTACK_USE_ALLOCA
which with pristine bison 1.29 or 1.30 also gives:
#if YYSTACK_USE_ALLOCA
.. which gcc doesn't like.

So, change the define to:
#define YYSTACK_USE_ALLOCA 1
Comment 1 Chris Chabot 2002-01-19 05:25:14 UTC
Had the same problem here, compiling 0.9.3 on a (very) recent Redhat
rawhide system, which includes bison 1.30.

Comment 2 Luis Villa 2002-01-24 23:14:51 UTC
This should be easy to fix and blocks testing.
Comment 3 Luis Villa 2002-01-24 23:15:09 UTC
*** Bug 69072 has been marked as a duplicate of this bug. ***
Comment 4 Maciej Stachowiak 2002-01-25 06:43:41 UTC
Fixed in CVS.