|
Boost : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2004-04-13 05:56:02
"Alexey Nikitin" <reductor_at_[hidden]> wrote
> In file boost/archive/add_facet.hpp from line 23:
>
> // does STLport uses native STL for locales?
> #if (defined _STLPORT_VERSION) && !(defined _STLP_USE_NO_IOSTREAMS)
> // and this native STL lib is old Dinkumware (has not defined _CPPLIB_VER)
> # if (defined _YVALS) && !(defined __IBMCPP__)
> # define BOOST_ARCHIVE_OLD_DINKUMWARE_BENEATH_STLPORT
> # endif
> #endif
>
> IMHO, this incorrect because in new dinkumware library defined _YVALS and
> not defined __IBMCPP__.
> Result of that is error when compile with VC7.1 and STLPort with
iostreams.
> Removing negation before "(defined __IBMCPP__)" is eliminate this problem.
>
You are right about the problem: The line should be:
# if (defined _YVALS) && !(defined __IBMCPP__) && !(defined _CPPLIB_VER)
/Pavel
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk