Opened 14 years ago
Closed 14 years ago
#2322 closed Bugs (fixed)
Throw specifier missing on exception_clone
Reported by: | anonymous | Owned by: | Emil Dotchevski |
---|---|---|---|
Milestone: | Boost 1.37.0 | Component: | exception |
Version: | Boost 1.36.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I get a build error when cross compiling Boost because boost::exception_detail::exception_clone is instantiated with a template parameter of boost::exception_detail::error_info_injector. This causes it to inherit from error_info_injector, which has a throw() specifier on its destructor. Since exception_clone doesn't have an explicit destructor, GCC complains about the missing throw() specifier.
I fixed the problem with the attached patch - no idea if it's the correct solution, though.
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | 03-exception-clone-destructor-fix.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.