Opened 14 years ago

Closed 14 years ago

#2102 closed Bugs (fixed)

wave fails to compile with -fno-exceptions

Reported by: brbarret@… Owned by: Hartmut Kaiser
Milestone: Boost 1.36.0 Component: wave
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

The wave 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 my version of g++ (4.0.1 included with OS X 10.5) would complain about e being undeclared.

Attachments (1)

boost_wave_no_exceptions.diff (1021 bytes ) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 14 years ago

comment:1 by Hartmut Kaiser, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in Rev. 47287. Thanks!

Note: See TracTickets for help on using tickets.