Subject: [Boost-bugs] [Boost C++ Libraries] #1261: Boost.DateTime patch to support STLport's _STLP_NO_IOSTREAMS mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-09-13 19:03:32
#1261: Boost.DateTime patch to support STLport's _STLP_NO_IOSTREAMS mode
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: az_sw_dude
Type: Patches | Status: new
Milestone: To Be Determined | Component: date_time
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
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.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1261>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:56 UTC