
16 Aug
2004
16 Aug
'04
10:42 a.m.
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.