Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#2097 closed Bugs (fixed)

regex fails to compile with -fno-exceptions

Reported by: brbarret@… Owned by: John Maddock
Milestone: Boost 1.36.0 Component: regex
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

The regex component fails to compile with GCC when -fno-exceptions is specified. The attached patch allows the libraries / tests shipped with boost 1.35.0 to compile. There didn't seem to be a better option to make g++ happy than to just #ifndef out the catch(...) block, as it would otherwise complain about the throw in the block.

Attachments (1)

boost_regex_no_exceptions.diff (439 bytes ) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (3)

by anonymous, 14 years ago

comment:1 by John Maddock, 14 years ago

Resolution: fixed
Status: newclosed

(In [47319]) Fixes #2097.

comment:2 by John Maddock, 14 years ago

(In [47320]) Fixes #2097.

Note: See TracTickets for help on using tickets.