26 Feb
2008
26 Feb
'08
12:56 p.m.
Johan RĂ¥de wrote:
Could you check the value of ss.str() after line 105 in legacy_test.cpp?
1.#QNAN -1.#IND 1.#QNAN -1.#QNAN With MSVC's debug checks enabled the attempt to read from the stream at line 108 results in a debug assertion being triggered and the code aborting: it tries to increment the istream_iterator past the end :-( BTW both VC8 and VC9 express editions are free downloads from MS's web pages. Changing from -std::numeric_limits<>::whatever() to changesign(whatever) fixes the SSE2 problem with VC8 and VC9 BTW, however this is probably best considered either a compiler bug, or a loophole in the std if this is permitted behaviour. HTH, John.