Opened 10 years ago

Closed 10 years ago

#7227 closed Bugs (fixed)

Boost.Containers fails to compile when exceptions are disabled

Reported by: xiao.bai.xiong@… Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: container
Version: Boost 1.48.0 Severity: Problem
Keywords: containers, exceptions Cc:

Description

Some try/catch clauses were already using BOOST_TRY/BOOST_CATCH/BOOST_CATCH_END, not all, resulting in compilation failure when exceptions are disabled. Attached is a patch (made against version 1.48.0) fixing the issue. Based on release notes, seems like this was not fixed in later releases.

Attachments (2)

boost-container.patch (7.0 KB ) - added by Francois Duranleau <xiao.bai.xiong@…> 10 years ago.
Fix for more try/catch -> BOOST_TRY/BOOST_CATCH
boost-container2.patch (6.4 KB ) - added by Francois Duranleau <xiao.bai.xiong@…> 10 years ago.
fixes for throw -> BOOST_THROW_EXCEPTION

Download all attachments as: .zip

Change History (4)

by Francois Duranleau <xiao.bai.xiong@…>, 10 years ago

Attachment: boost-container.patch added

Fix for more try/catch -> BOOST_TRY/BOOST_CATCH

by Francois Duranleau <xiao.bai.xiong@…>, 10 years ago

Attachment: boost-container2.patch added

fixes for throw -> BOOST_THROW_EXCEPTION

comment:1 by Francois Duranleau <xiao.bai.xiong@…>, 10 years ago

I just submitted another patch that also fixes throw statements, replaced by BOOST_THROW_EXCEPTION.

comment:2 by Ion Gaztañaga, 10 years ago

Resolution: fixed
Status: newclosed

(In [82429]) Fixes #7227

Note: See TracTickets for help on using tickets.