Modify

Opened 5 years ago

Closed 5 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@…> 5 years ago.
Fix for more try/catch -> BOOST_TRY/BOOST_CATCH
boost-container2.patch (6.4 KB) - added by Francois Duranleau <xiao.bai.xiong@…> 5 years ago.
fixes for throw -> BOOST_THROW_EXCEPTION

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by Francois Duranleau <xiao.bai.xiong@…>

Attachment: boost-container.patch added

Fix for more try/catch -> BOOST_TRY/BOOST_CATCH

Changed 5 years ago by Francois Duranleau <xiao.bai.xiong@…>

Attachment: boost-container2.patch added

fixes for throw -> BOOST_THROW_EXCEPTION

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

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

comment:2 Changed 5 years ago by Ion Gaztañaga

Resolution: fixed
Status: newclosed

(In [82429]) Fixes #7227

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ion Gaztañaga.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.