Opened 14 years ago

Closed 14 years ago

#2093 closed Bugs (fixed)

date_time fails to compile with -fno-exceptions

Reported by: brbarret@… Owned by: az_sw_dude
Milestone: Boost 1.36.0 Component: date_time
Version: Boost 1.35.0 Severity: Problem
Keywords: Cc:

Description

date_time fails to compile with gcc and -fno-exceptions. The attached patch allows the libraries / tests shipped with Boost 1.35.0 to compile.

Attachments (1)

boost_data_time_no_exceptions.diff (2.4 KB ) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (2)

by anonymous, 14 years ago

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed

The library moved to throw_exception, but it still doesn't compile without exceptions for me. The cause, it seems, lies somewhere in Boost.Function, so I mark the ticket as fixed.

Note: See TracTickets for help on using tickets.