From: Joaquín Mª López Muñoz (joaquin_at_[hidden])
Date: 2005-06-20 07:24:47
Martin Wille ha escrito:
> Jonathan Wakely wrote:
> > On Mon, Jun 20, 2005 at 08:58:12AM +0200, Joaqu?n M? L?pez Mu?oz wrote:
> >>Google tells us that GCC 2.95 does not provide char_traits<>::eof(),
> >>hence the problem.
> >>I can confirm the attached patch solves the issue. OK to commit?
> >>A better way to macro-detect the offending platform?
> > I think the version check should be for any GCC < 3
> The problem doesn't exist if stlport is used with gcc 2.95. So, checking
> for the compiler version seems wrong.
I don't agree here: For instance, in mingw-3_4_2, BOOST_NO_STD_WSTRING
is defined, yet the workaround is not necessary: checking for the compiler
version correctly handles this.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk