Boost logo

Boost :

From: Jeff Garland (jeff_at_[hidden])
Date: 2003-03-16 21:03:52


On Sun, 16 Mar 2003 17:34:18 -0500, Beman Dawes wrote
> I'll go over the do-list again after dinner, but it looks like
> almost all problems have been cleared except for this one.

I don't know if the Linux results are up to date, but
it appears that we have still taken a step backward with
lexical cast on gcc 2.95.3. This is causing a large number
date_time tests which compiled and executed correctly with
the 1.29 release to fail.

Without actually looking at the source it would be my
guess that this is related to the fact that the 2.95.3
standard library only supported old iostreams and that
somehow the lexical_cast work around got lost in the
changes. This is supported by the fact that the same
tests work fine with STLPort. It would be nice if this
workaround could be restored before the release even if
results in the 2.95.3 version having the 'string' bug.
I've attached the details for reference...

Jeff

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

    /opt/gcc2/bin//g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline
-I"../libs/date_time/test" -I "/home/boost/boost-regre


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