Opened 4 years ago

Closed 4 years ago

#8882 closed Patches (fixed)

sequence_stack.hpp doesn't build without exception support

Reported by: gromer@… Owned by: Eric Niebler
Milestone: To Be Determined Component: xpressive
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:


boost/xpressive/detail/utility/sequence_stack.hpp contains a try/catch block, which means it does not build on platforms that don't support exceptions (or where exceptions are disabled). It should instead use the facilities in boost/detail/no_exceptions_support.hpp, so that it works correctly regardless of exception support.

The attached patch, relative to Boost 1.53.0, fixes the problem.

Attachments (1)

sequence_stack.patch (922 bytes) - added by gromer@… 4 years ago.
Patch to fix

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by gromer@…

Attachment: sequence_stack.patch added

Patch to fix

comment:1 Changed 4 years ago by Eric Niebler

(In [85120]) use RAII instead of try/catch in sequence_stack.hpp, refs #8882

comment:2 Changed 4 years ago by Eric Niebler

Status: newassigned

comment:3 Changed 4 years ago by Eric Niebler

Resolution: fixed
Status: assignedclosed

(In [85427]) merge [85118],[85119],[85120],[85121] from trunk; fixes #8843, fixes #8880, fixes #8882, fixes #8474

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Eric Niebler.
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.