<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>47844</bug_id>
          
          <creation_ts>2010-10-18 13:45:30 -0700</creation_ts>
          <short_desc>RVCT fails to compile DateMath.cpp due to overloaded function pow</short_desc>
          <delta_ts>2010-10-19 12:43:59 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kwang Yul Seo">skyul</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>295720</commentid>
    <comment_count>0</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2010-10-18 13:45:30 -0700</bug_when>
    <thetext>RVCT fails to compile DateMath.cpp with the following compile error:


    &quot;..\JavaScriptCore\wtf\DateMath.cpp&quot;, line 642: Error:  #308: more than one instance of overloaded function &quot;pow&quot; matches the argument list:
                function &quot;std::pow(double, double)&quot;
                function &quot;std::pow(float, float)&quot;
                function &quot;std::pow(float, int)&quot;
                function &quot;std::pow(double, int)&quot;
                function &quot;std::pow(long double, long double)&quot;
                function &quot;std::pow(long double, int)&quot;
                argument types are: (int, long)
              seconds += fracSeconds * pow(10, -numFracDigits);

We need to add an explicit cast to the arguments of pow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>295721</commentid>
    <comment_count>1</comment_count>
      <attachid>71076</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2010-10-18 13:49:12 -0700</bug_when>
    <thetext>Created attachment 71076
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296315</commentid>
    <comment_count>2</comment_count>
      <attachid>71076</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-19 11:49:53 -0700</bug_when>
    <thetext>Comment on attachment 71076
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296344</commentid>
    <comment_count>3</comment_count>
      <attachid>71076</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 12:43:54 -0700</bug_when>
    <thetext>Comment on attachment 71076
Patch

Clearing flags on attachment: 71076

Committed r70076: &lt;http://trac.webkit.org/changeset/70076&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>296345</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-10-19 12:43:59 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71076</attachid>
            <date>2010-10-18 13:49:12 -0700</date>
            <delta_ts>2010-10-19 12:43:53 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>pow.patch</filename>
            <type>text/plain</type>
            <size>1286</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2Ny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pbmcgY29weSkKQEAgLTYzOSw3ICs2MzksNyBAQCBkb3VibGUgcGFyc2VFUzVEYXRlRnJv
bU51bGxUZXJtaW5hdGVkQ2hhCiAgICAgICAgICAgICByZXR1cm4gTmFOOwogICAgICAgICAKICAg
ICAgICAgbG9uZyBudW1GcmFjRGlnaXRzID0gcG9zdFBhcnNlUG9zaXRpb24gLSBjdXJyZW50UG9z
aXRpb247Ci0gICAgICAgIHNlY29uZHMgKz0gZnJhY1NlY29uZHMgKiBwb3coMTAsIC1udW1GcmFj
RGlnaXRzKTsKKyAgICAgICAgc2Vjb25kcyArPSBmcmFjU2Vjb25kcyAqIHBvdygxMC4wLCBzdGF0
aWNfY2FzdDxkb3VibGU+KC1udW1GcmFjRGlnaXRzKSk7CiAgICAgfQogICAgIGN1cnJlbnRQb3Np
dGlvbiA9IHBvc3RQYXJzZVBvc2l0aW9uOwogICAgIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>