Opened 14 years ago
Closed 12 years ago
#2101 closed Bugs (wontfix)
variant fails to compile with -fno-exceptions
Reported by: | Owned by: | ebf | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | variant |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The variant 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 (2)
by , 14 years ago
Attachment: | boost_variant_no_exceptions.diff added |
---|
comment:1 by , 12 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The variant library can not be built with exceptions disabled. This is not a defect.