Date: 2002-01-11 10:21:02
I think the tests in lexical_cast.hpp if to use <sstream> or not is to
strong and should probably not be placed here at all. Seems to me that
the config system should be able to do this with
The <sstream> supplied with GCC < 3 is known to not work with lexical
cast. The <sstream> supplied with GCC >= 3 works fine.
Currently I do this change for this:
--- boost/boost/lexical_cast.hpp Tue Nov 6 17:06:10 2001
+++ new/boost/boost/lexical_cast.hpp Fri Jan 11 16:01:37 2002
@@ -15,7 +15,7 @@
// The GNU sstream implementation is broken for the purposes of lexical cast.
-# if defined(BOOST_NO_STRINGSTREAM) || (defined(__GNUC__) && !defined(__STL_USE_NEW_IOSTREAMS) || defined(__APPLE_CC__))
+# if defined(BOOST_NO_STRINGSTREAM)
# define BOOST_LEXICAL_CAST_USE_STRSTREAM
This makes both GCC < 3 and GCC >= 3 work.
btw. I didn't find Jeremys mail address in the peoples section.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk