From: Kevlin Henney (kevlin_at_[hidden])
Date: 2003-03-18 17:07:38
In article <220.127.116.11.2.20030318080212.0261a6f8_at_[hidden]>, Beman
Dawes <bdawes_at_[hidden]> writes
>My patience has been exhausted. The folks that care about configuring
>lexical_cast for GCC 2.95.3 with the SGI library need come forward
>immediately and tell us how to deal with this, or 1.30.0 will ship as is.
Ditto on patience. Close inspection reveals that the config file
studiously avoids accommodating g++ 2.95:
#if defined(__GNUC__) && (__GNUC__ < 3) && \
((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \
!defined(__STL_USE_NEW_IOSTREAMS) || \
// Note that we only set this for GNU C++ prior to 2.95 since the
// latest patches for that release do contain a minimal <sstream>
// If you are running a 2.95 release prior to 2.95.3 then this will
// setting, but there is no way to detect that automatically (other
// than by running the configure script).
// Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't
// have <sstream>.
# define BOOST_NO_STRINGSTREAM
In other words, lexical_cast will work if the instructions in the config
file are followed. According to the config file anyone running 2.95 is
in effect on their own. Terje's changes should be applied: any remaining
g++ 2.95 problems would then be down to local config and rather than
lexical_cast.hpp to address.
Kevlin Henney phone: +44 117 942 2990
mailto:kevlin_at_[hidden] mobile: +44 7801 073 508
http://www.curbralan.com fax: +44 870 052 2289
Curbralan: Consultancy + Training + Development + Review
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk