
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.

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
participants (2)
-
Rob Lievaart
-
Stefan Slapeta