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)
Change History (2)
by , 15 years ago
Attachment: | boost-datetime-no-iostreams-int_adapter.hpp.patch added |
---|
comment:1 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
patch to fix include dependency to <iostreams>