[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redefining malloc and free throw exceptions in bison 2.1
From: |
Paul Eggert |
Subject: |
Re: redefining malloc and free throw exceptions in bison 2.1 |
Date: |
Fri, 28 Apr 2006 01:33:30 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
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.