Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-02-26 07:56:58


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net