Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-05-10 08:49:33

----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
> As to_duration uses to following expression to calculate the
> difference in milliseconds it is affected by this compiler bug
> as well.

It doesn't look like a compiler bug to me. All the compilers I have give
the same
results on your test program. The integral promotion rules can be tricky
(which is why my Intel compiler warns:
foo.cpp(5): warning #68: integer conversion resulted in a change of sign
    signed long b = -2 / a;

Boost.Threads may have a bug, however.


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