Opened 10 years ago
Closed 10 years ago
#7227 closed Bugs (fixed)
Boost.Containers fails to compile when exceptions are disabled
| Reported by: | 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)
Change History (4)
by , 10 years ago
| Attachment: | boost-container.patch added |
|---|
by , 10 years ago
| Attachment: | boost-container2.patch added |
|---|
fixes for throw -> BOOST_THROW_EXCEPTION
comment:1 by , 10 years ago
I just submitted another patch that also fixes throw statements, replaced by BOOST_THROW_EXCEPTION.
Note:
See TracTickets
for help on using tickets.

Fix for more try/catch -> BOOST_TRY/BOOST_CATCH