On Sun, Sep 06, 2009 at 03:06:51PM +0200, Julien PUYDT wrote:
> Package: libboost1.39-dev
> Version: 1.39.0-4
> 
> There is still a problem with boost::function and -fno-exceptions :
> /usr/include/boost/function/function_template.hpp:830: error:
> exception handling disabled, use -fexceptions to enable
> 
> And indeed the copy operator uses try/catch without guard.
> 
> There have been several similar bug reports in the past both in
> debian and in boost bug report systems, so it's possible the problem
> is already fixed upstream.


On Sun, Sep 06, 2009 at 03:32:42PM +0200, Julien PUYDT wrote:
> I had a quick look at that function_template.hpp in boost 1.40, and
> I saw that it now uses macros BOOST_TRY/BOOST_CATCH/etc, which
> probably fix that bug.

Good.  

I have uploaded 1.40 to Debian already, so I'm not inclined to
spend a lot of time fixing this bug.  

On the other hand, the 1.40 packages will probably be in the new queue
for some weeks and 1.39 is the current default boost for debian.  So I
am inclined to upload a fix if a patch were supplied.

As you say, similar bugs have been reported before; e.g. #543576.  I
just verified that the minimal test case in
https://bugzilla.redhat.com/show_bug.cgi?id=477131 is fixed in
1.39.0-4.  I'd appreciate a test case that displays the present
bug.

Thanks,
-Steve




Attachment: signature.asc
Description: Digital signature

Reply via email to