bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 1.49b on Cygwin


From: Peter Eisentraut
Subject: Re: Bison 1.49b on Cygwin
Date: Sun, 29 Sep 2002 14:12:57 +0200 (CEST)

Akim Demaille writes:

> Ha!  Now I understand :(  Thanks!  I had not realized we had a hard
> copy of alloca's prototype in system.h.
>
> Well, I have looked at how Jim handles this case in the Coreutils: the
> only difference I can see is that he includes stdlib.h *before* the
> `alloca' section.  What happens if you do the same?  I.e., if you try
> the following system.h instead:

That just gives me the warning the other way around.  But if you add an
#undef alloca before the redefinition, it works.

But for AIX the alloca section needs to be "the first thing in the file",
which the altered system.h does not achieve.  Maybe the alloca section
needs to be split up.  (Only the #pragma needs to be first.)

-- 
Peter Eisentraut   address@hidden





reply via email to

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