
20 Jun
2005
20 Jun
'05
12:24 p.m.
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