Modify

Ticket #7227 (closed Bugs: fixed)

Opened 20 months ago

Last modified 15 months ago

Boost.Containers fails to compile when exceptions are disabled

Reported by: xiao.bai.xiong@… Owned by: igaztanaga
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

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

Change History

Changed 20 months ago by Francois Duranleau <xiao.bai.xiong@…>

Fix for more try/catch -> BOOST_TRY/BOOST_CATCH

Changed 20 months ago by Francois Duranleau <xiao.bai.xiong@…>

fixes for throw -> BOOST_THROW_EXCEPTION

comment:1 Changed 20 months 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 15 months ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

(In [82429]) Fixes #7227

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.