Opened 14 years ago
Last modified 10 years ago
#2098 closed Bugs
system fails to compile with -fno-exceptions — at Initial Version
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | system |
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.
Note:
See TracTickets
for help on using tickets.