Changeset 70076 in webkit


Ignore:
Timestamp:
Oct 19, 2010 12:43:39 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-19 Kwang Yul Seo <skyul@company100.net>

Reviewed by David Kilzer.

RVCT fails to compile DateMath.cpp due to overloaded function pow
https://bugs.webkit.org/show_bug.cgi?id=47844

Choose std::pow(double, double) among multiple overloaded pow functions
to fix build for RVCT.

  • wtf/DateMath.cpp: (WTF::parseES5DateFromNullTerminatedCharacters):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r70074 r70076  
     12010-10-19  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by David Kilzer.
     4
     5        RVCT fails to compile DateMath.cpp due to overloaded function pow
     6        https://bugs.webkit.org/show_bug.cgi?id=47844
     7
     8        Choose std::pow(double, double) among multiple overloaded pow functions
     9        to fix build for RVCT.
     10
     11        * wtf/DateMath.cpp:
     12        (WTF::parseES5DateFromNullTerminatedCharacters):
     13
    1142010-10-19  Patrick Gansterer  <paroga@webkit.org>
    215
  • trunk/JavaScriptCore/wtf/DateMath.cpp

    r69833 r70076  
    640640       
    641641        long numFracDigits = postParsePosition - currentPosition;
    642         seconds += fracSeconds * pow(10, -numFracDigits);
     642        seconds += fracSeconds * pow(10.0, static_cast<double>(-numFracDigits));
    643643    }
    644644    currentPosition = postParsePosition;
Note: See TracChangeset for help on using the changeset viewer.