Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2004-08-16 08:16:07


applied, thanks.

Rob Lievaart wrote:

> L.S.
>
> The date_time test testfiletime_functions is failing on mingw 3.2 and 3.4
> and
> on vc8.0 with the same error:
>
> ../libs/date_time/test/posix_time/testfiletime_functions.cpp:26: call of
> overloaded `pow(int, int)' is ambiguous
>
> The line in questions is:
>
> static_cast<int>(std::pow(10, time_duration::num_fractional_digits() -
> 3));
>
>
> I changed the 10, to 10.0, to solve the ambiguity, locally and now the test
> compiles and passes. I attached a patch.
>
>
> Kind regards,
>
>
> Rob.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk