Opened 14 years ago
Closed 10 years ago
#2099 closed Bugs (wontfix)
test fails to compile with -fno-exceptions
Reported by: | Owned by: | Gennadiy Rozental | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | test |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | Cc: |
Description
The test 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 way to keep g++ happy about some of the catch blocks (I'm not enough of a C++ expert to figure out the pattern in which it did and did not lick). The catch blocks disliked by my version of g++ (the 4.0.1 shipped with OS X 10.5) are protected with #ifndefs in the patch.
Attachments (1)
Change History (3)
by , 14 years ago
Attachment: | boost_test_no_exceptions.diff added |
---|
comment:1 by , 13 years ago
comment:2 by , 10 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
If this is still outstanding please submit new ticket and patch with explanations
Note:
See TracTickets
for help on using tickets.
Why do we need to inherit from std::exception?