Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-03-17 16:29:50


At 03:40 PM 3/17/2003, Terje Slettebø wrote:

>Well, I think this reinforces the suggestion to define
>BOOST_NO_STRINGSTREAM
>for 2.95.x. Comments?
>
>Either that, or to have some way to detect where
std::basic_stringstream<>
>is not supported, and turn off wide character support for that, in
>lexical_cast. Currently, it disables wide character support if one of the
>following macros are set:
>
>BOOST_NO_STRINGSTREAM
>BOOST_NO_STD_WSTRING
>BOOST_NO_INTRINSIC_WCHAR_T

Are you sure disabling wide character support is really the solution, or
that it is really fully disabled?

For the 2.95.x test at
http://boost.sourceforge.net/regression-logs/cs-linux-RC_1_30_0-links.html#config_info%20gcc2953,
BOOST_NO_STD_WSTRING is already defined, so presumably wide character
support is already disabled.

Look at the error messages from date_time testperiod below, and the source
code lines they refer to. At least directly, they don't seem releated to
wide character support.

--Beman

In file included from
/home/boost/boost-regress-RC_1_30_0/boost/boost/date_time/date_parsing.hpp:10,
from
/home/boost/boost-regress-RC_1_30_0/boost/boost/date_time/gregorian/parsers.hpp:9,
from
/home/boost/boost-regress-RC_1_30_0/boost/boost/date_time/gregorian/gregorian.hpp:17,
from ../libs/date_time/test/gregorian/testperiod.cpp:6:
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp:173:
syntax error before `;'
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp: In method
`bool
boost::detail::lexical_stream<Target,Source>::operator >>(InputStreamable
&)': /home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp:146:
parse error before `>'
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp: In
function `Target boost::lexical_cast(Source)':
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp:181: parse
error before `::'
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp:185: parse
error before `::'
/home/boost/boost-regress-RC_1_30_0/boost/boost/lexical_cast.hpp:187:
confused by earlier errors, bailing out


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