Opened 15 years ago

Closed 14 years ago

#1261 closed Patches (fixed)

Boost.DateTime patch to support STLport's _STLP_NO_IOSTREAMS mode

Reported by: anonymous Owned by: az_sw_dude
Milestone: To Be Determined Component: date_time
Version: Boost 1.34.1 Severity: Problem
Keywords: Cc:

Description

In Boost.DateTime there is an include <iostreams> in the file boost/date_time/int_adapter.hpp that is only needed when BOOST_DATE_TIME_NO_LOCALE is undefined. When using Boost.DateTime together with STLport's _STLP_NO_IOSTREAMS-mode there is an error when IOStreams-related headers are included. The patch adds an #ifndef check for the macro around the include. It then would be usable in a scenario with _STLP_NO_IOSTREAMS defined. The advantage of defining the macro is to not having to link against STLport libraries, all headers are inline then.

Attachments (1)

boost-datetime-no-iostreams-int_adapter.hpp.patch (637 bytes ) - added by michael.fink@… 15 years ago.
patch to fix include dependency to <iostreams>

Download all attachments as: .zip

Change History (2)

by michael.fink@…, 15 years ago

patch to fix include dependency to <iostreams>

comment:1 by Andrey Semashev, 14 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.