Ticket #8882 (closed Patches: fixed)

Opened 2 years ago

Last modified 2 years ago

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.


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

Change History

Changed 2 years ago by gromer@…

Patch to fix

comment:1 Changed 2 years ago by eric_niebler

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

comment:2 Changed 2 years ago by eric_niebler

  • Status changed from new to assigned

comment:3 Changed 2 years ago by eric_niebler

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

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


Add a comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.