bug-bison
[Top][All Lists]
Advanced

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

Re: redefining malloc and free throw exceptions in bison 2.1


From: Shane Mueller
Subject: Re: redefining malloc and free throw exceptions in bison 2.1
Date: Fri, 28 Apr 2006 09:24:28 -0400

Thanks, that appears to fix it.  I now get a warning which I never got
in 2.0 which is not really critical but it is likely easy to fix:

src/base/lex.yy.c: In function 'int yy_get_next_buffer()':
src/base/lex.yy.c:1354: warning: comparison between signed and unsigned
integer expressions

Thanks again!



On Fri, 2006-04-28 at 01:33 -0700, Paul Eggert wrote:
> Shane Mueller <address@hidden> writes:
> 
> > src/base/grammar.tab.cpp:312: error: declaration of 'void* malloc(unsigned 
> > int)' throws different exceptions
> 
> Thanks for reporting the problem.  This resembles Debian bug 340012,
> which was fixed in Bison CVS as follows:
> 
> http://lists.gnu.org/archive/html/bison-patches/2006-02/msg00070.html
> 
> You might want to give that patch a try.  It should apply cleanly to
> Bison test version 2.1a
> <ftp://alpha.gnu.org/gnu/bison/bison-2.1a.tar.gz>, at any rate.
> 
> Hmm, I see I never followed up with the Debian folks about the fix.
> I'll CC: this message to bugs.debian.org to give them a heads-up.





reply via email to

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