<?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>32891</bug_id>
          
          <creation_ts>2009-12-22 18:35:30 -0800</creation_ts>
          <short_desc>Include stddef.h for ptrdiff_t</short_desc>
          <delta_ts>2009-12-23 18:15:59 -0800</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>0</everconfirmed>
          <reporter name="Kwang Yul Seo">skyul</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174504</commentid>
    <comment_count>0</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-12-22 18:35:30 -0800</bug_when>
    <thetext>[ 509/1814] cxx: JavaScriptCore\assembler\ARMAssembler.cpp -&gt; build\default\JavaScriptCore\assembler\ARMAssembler_1.o
&quot;..\JavaScriptCore/jit/ExecutableAllocator.h&quot;, line 107: Error:  #20:
identifier &quot;ptrdiff_t&quot; is undefined
         if (static_cast&lt;ptrdiff_t&gt;(n) &lt; (m_end - m_freePtr)) {
                         ^
..\JavaScriptCore\assembler\ARMAssembler.cpp: 0 warnings, 1 error


In RVCT, ptrdiff_t is tyedefed in stddef.h, so we need to include stddef.h in JavaScriptCore/jit/ExecutableAllocator.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174505</commentid>
    <comment_count>1</comment_count>
      <attachid>45413</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-12-22 18:39:28 -0800</bug_when>
    <thetext>Created attachment 45413
Include stddef.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174506</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-22 18:42:59 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45413 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174525</commentid>
    <comment_count>3</comment_count>
      <attachid>45413</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-12-22 21:58:29 -0800</bug_when>
    <thetext>Comment on attachment 45413
Include stddef.h

This include should not be inside an if statement. We should add &lt;stddef.h&gt; unconditionally for all compilers. It should be added to the main paragraph of includes at the top of the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174537</commentid>
    <comment_count>4</comment_count>
      <attachid>45420</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2009-12-22 23:34:29 -0800</bug_when>
    <thetext>Created attachment 45420
Include stddef.h for ptrdiff_t without compiler guards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174538</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-22 23:36:35 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45420 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174599</commentid>
    <comment_count>6</comment_count>
      <attachid>45420</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-12-23 09:34:32 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Looks good, r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174600</commentid>
    <comment_count>7</comment_count>
      <attachid>45420</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-23 09:37:55 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Rejecting patch 45420 from review queue.

laszlo.1.gombos@nokia.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/modules/committers.py.

- If you have reviewer rights please correct the error in WebKitTools/Scripts/modules/committers.py by adding yourself to the file (no review needed) and then set the reviewer flag again.

- If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174667</commentid>
    <comment_count>8</comment_count>
      <attachid>45420</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-12-23 15:36:12 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Try again, after I added myself to the reviewers list - http://trac.webkit.org/changeset/52531.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174668</commentid>
    <comment_count>9</comment_count>
      <attachid>45420</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-23 15:36:31 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Rejecting patch 45420 from review queue.

laszlo.1.gombos@nokia.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/modules/committers.py.

- If you have reviewer rights please correct the error in WebKitTools/Scripts/modules/committers.py by adding yourself to the file (no review needed) and then set the reviewer flag again.

- If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174671</commentid>
    <comment_count>10</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-12-23 15:41:20 -0800</bug_when>
    <thetext>hmm.. Maybe I wait a bit more to let the Commit Bot pick up the change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174672</commentid>
    <comment_count>11</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-12-23 15:44:07 -0800</bug_when>
    <thetext>&gt; hmm.. Maybe I wait a bit more to let the Commit Bot pick up the change.

The commit bot won&apos;t land this because it&apos;s marked review-.  You&apos;ll need to get a reviewer to change that flag to review+ first.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174677</commentid>
    <comment_count>12</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-12-23 15:52:15 -0800</bug_when>
    <thetext>Sorry.  Due to bug 30084 the commit-queue does not immediately notice changes to committers.py.  I have filed bug 32911 as a workaround until bug 30084 can be fixed.  Sorry again for the confusion.

The commit-queue has been restarted and will now recognize your r+ correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174695</commentid>
    <comment_count>13</comment_count>
      <attachid>45420</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-12-23 17:08:41 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Thanks Eric.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174708</commentid>
    <comment_count>14</comment_count>
      <attachid>45420</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-23 18:15:53 -0800</bug_when>
    <thetext>Comment on attachment 45420
Include stddef.h for ptrdiff_t without compiler guards

Clearing flags on attachment: 45420

Committed r52538: &lt;http://trac.webkit.org/changeset/52538&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>174709</commentid>
    <comment_count>15</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-23 18:15:59 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45413</attachid>
            <date>2009-12-22 18:39:28 -0800</date>
            <delta_ts>2009-12-22 23:34:29 -0800</delta_ts>
            <desc>Include stddef.h</desc>
            <filename>ptrdiff_t.patch</filename>
            <type>text/plain</type>
            <size>1134</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDUyNTE4KQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMDktMTItMjIgIEt3YW5nIFl1
bCBTZW8gIDxza3l1bEBjb21wYW55MTAwLm5ldD4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBJbmNsdWRlIHN0ZGRlZi5oIGZvciBwdHJkaWZmX3QgaW4g
UlZDVAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MzI4
OTEKKworICAgICAgICBSVkNUIHR5cGVkZWZzIHB0cmRpZmZfdCBpbiBzdGRkZWYuaC4KKyAgICAg
ICAgSW5jbHVkZSBzdGRkZWYuaCBpbiBqaXQvRXhlY3V0YWJsZUFsbG9jYXRvci5oIGZvciBSVkNU
LgorCisgICAgICAgICogaml0L0V4ZWN1dGFibGVBbGxvY2F0b3IuaDoKKwogMjAwOS0xMi0yMiAg
RGFyaW4gQWRsZXIgIDxkYXJpbkBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgTWFy
ayBSb3dlLgpJbmRleDogSmF2YVNjcmlwdENvcmUvaml0L0V4ZWN1dGFibGVBbGxvY2F0b3IuaAo9
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0Q29yZS9qaXQvRXhlY3V0YWJsZUFsbG9jYXRvci5oCShy
ZXZpc2lvbiA1MjQ4NSkKKysrIEphdmFTY3JpcHRDb3JlL2ppdC9FeGVjdXRhYmxlQWxsb2NhdG9y
LmgJKHdvcmtpbmcgY29weSkKQEAgLTQyLDYgKzQyLDEwIEBACiAjaW5jbHVkZSA8ZTMyc3RkLmg+
CiAjZW5kaWYKIAorI2lmIENPTVBJTEVSKFJWQ1QpCisjaW5jbHVkZSA8c3RkZGVmLmg+IC8vIGZv
ciBwdHJkaWZmX3QKKyNlbmRpZgorCiAjZGVmaW5lIEpJVF9BTExPQ0FUT1JfUEFHRV9TSVpFIChF
eGVjdXRhYmxlQWxsb2NhdG9yOjpwYWdlU2l6ZSkKICNkZWZpbmUgSklUX0FMTE9DQVRPUl9MQVJH
RV9BTExPQ19TSVpFIChFeGVjdXRhYmxlQWxsb2NhdG9yOjpwYWdlU2l6ZSAqIDQpCiAK
</data>
<flag name="review"
          id="27453"
          type_id="1"
          status="-"
          setter="darin"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45420</attachid>
            <date>2009-12-22 23:34:29 -0800</date>
            <delta_ts>2009-12-23 18:15:53 -0800</delta_ts>
            <desc>Include stddef.h for ptrdiff_t without compiler guards</desc>
            <filename>ptrdiff_t.patch</filename>
            <type>text/plain</type>
            <size>1053</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT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FeGVjdXRhYmxlQWxsb2NhdG9yX2gKIAorI2luY2x1ZGUgPHN0ZGRlZi5oPiAvLyBmb3IgcHRy
ZGlmZl90CiAjaW5jbHVkZSA8bGltaXRzPgogI2luY2x1ZGUgPHd0Zi9Bc3NlcnRpb25zLmg+CiAj
aW5jbHVkZSA8d3RmL1Bhc3NSZWZQdHIuaD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>