#2097 closed Bugs (fixed)
regex fails to compile with -fno-exceptions
| Reported by: | 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)
Change History (3)
by , 14 years ago
| Attachment: | boost_regex_no_exceptions.diff added | 
|---|
comment:1 by , 14 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [47319]) Fixes #2097.