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:
> >
> >http://cci.lbl.gov/boost/results/1047512220/dailylog_coral_test
> >
> >.../boost/boost/lexical_cast.hpp:92: `wstring'
> > undeclared in namespace `std'
> >
> >This worked before:
> >
> >http://cci.lbl.gov/boost/results/1047490620/dailylog_coral_test
> >
> >(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
> http://boost.sourceforge.net/regression-logs/cs-win32-RC_1_30_0-diff.html
> 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

#ifndef BOOST_NO_STD_WSTRING
#endif

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.

-- 
 <huxw_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk