Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2005-06-20 09:20:55

Jonathan Wakely wrote:
> On Mon, Jun 20, 2005 at 01:50:08PM +0200, Martin Wille 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.
> Checking _just_ the compiler version would be wrong, but checking for
> BOOST_NO_STD_WSTRING as well should mean it catches GCC 2.x with
> libstdc++-v2 but not GCC 2.x with STLport or libstdc++-v3 snapshots.

Thanks for the clarification.

> I haven't tested it though. Does GCC 2.x with STLport support
> std::wstring (and therefore leave BOOST_NO_STD_WSTRING undefined) ?

Yes, it supports wstring and it leaves BOOST_NO_STD_WSTRING undefined.

Send instant messages to your online friends

Boost list run by bdawes at, gregod at, cpdaniel at, john at