[Webkit-unassigned] [Bug 47844] New: RVCT fails to compile DateMath.cpp due to overloaded function pow
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 18 13:45:30 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47844
Summary: RVCT fails to compile DateMath.cpp due to overloaded
function pow
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kwangyul.seo at gmail.com
RVCT fails to compile DateMath.cpp with the following compile error:
"..\JavaScriptCore\wtf\DateMath.cpp", line 642: Error: #308: more than one instance of overloaded function "pow" matches the argument list:
function "std::pow(double, double)"
function "std::pow(float, float)"
function "std::pow(float, int)"
function "std::pow(double, int)"
function "std::pow(long double, long double)"
function "std::pow(long double, int)"
argument types are: (int, long)
seconds += fracSeconds * pow(10, -numFracDigits);
We need to add an explicit cast to the arguments of pow.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list