Boost logo

Boost :

From: Robin.Hu (huxw_at_[hidden])
Date: 2003-03-13 03:21:50

>From: "Beman Dawes" <bdawes_at_[hidden]>
> At 07:40 PM 3/12/2003, Ralf W. Grosse-Kunstleve wrote:
> >The recent patch to lexical_cast.hpp causes problems under Mac OS X/gcc
> >3.2.2.
> >The error message appears at the top of:
> >
> >
> >
> >.../boost/boost/lexical_cast.hpp:92: `wstring'
> > undeclared in namespace `std'
> >
> >This worked before:
> >
> >
> >
> >(There are some other unrelated problems on this platform.)
> The same code also caused problems for Win32 GCC, Intel, and VC++ 6.0.
> I'veadded a quick fix for lexical_cast.hpp line 92, which cleared a lot of
> the
> problems, but not all of them.
> See
> AFAIK, all the new fails are because of lexical_cast.hpp use.
A word on the lexical_cast_test.cpp: everything will be ok if you
commented all tests about std::wstring and wchar_t with


This new version of lexical_cast seems OK to me, it compiles with both
gcc 3.2.2(winxp, mingw 2) and vc 7.1(final beta). ;-)

> I've already privately emailed Kevlin and Terje, but given time zone
> differences they may not see the messages right away.
> This sort of last minute snafu reinforces Ralf's earlier message; it
> really
> isn't good software development practice to sit on changes for months, and
> then try to get them working after a branch for release.


Boost list run by bdawes at, gregod at, cpdaniel at, john at