<?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>17340</bug_id>
          
          <creation_ts>2008-02-13 02:32:44 -0800</creation_ts>
          <short_desc>WebCore/platform/Timer.cpp fails to build with gcc 4.3</short_desc>
          <delta_ts>2008-02-13 04:28:27 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</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="Bernhard Rosenkraenzer">bero</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70498</commentid>
    <comment_count>0</comment_count>
    <who name="Bernhard Rosenkraenzer">bero</who>
    <bug_when>2008-02-13 02:32:44 -0800</bug_when>
    <thetext>../../../WebCore/platform/Timer.cpp: In function &apos;bool WebCore::operator&lt;(const WebCore::TimerHeapElement&amp;, const WebCore::TimerHeapElement&amp;)&apos;:
../../../WebCore/platform/Timer.cpp:107: error: &apos;UINT_MAX&apos; was not declared in this scope
make[1]: *** [tmp/Timer.o] Error 1


UINT_MAX is defined in &lt;limits.h&gt;, which isn&apos;t being #included.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70499</commentid>
    <comment_count>1</comment_count>
    <who name="Bernhard Rosenkraenzer">bero</who>
    <bug_when>2008-02-13 02:33:28 -0800</bug_when>
    <thetext>This happens to work with older versions of gcc because

#include &lt;limits&gt;

used to #include &lt;climits&gt; as well. gcc 4.3 trims down on header interdependencies</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70500</commentid>
    <comment_count>2</comment_count>
      <attachid>19108</attachid>
    <who name="Bernhard Rosenkraenzer">bero</who>
    <bug_when>2008-02-13 02:36:02 -0800</bug_when>
    <thetext>Created attachment 19108
fix</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70509</commentid>
    <comment_count>3</comment_count>
      <attachid>19108</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-13 04:12:58 -0800</bug_when>
    <thetext>Comment on attachment 19108
fix

We would use &lt;limits.h&gt; rather that &lt;climits&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70510</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-13 04:28:27 -0800</bug_when>
    <thetext>Again had to remove tabs and apply the patch by hand.

Committed revision 30193.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19108</attachid>
            <date>2008-02-13 02:36:02 -0800</date>
            <delta_ts>2008-02-13 04:12:58 -0800</delta_ts>
            <desc>fix</desc>
            <filename>WebCore-gcc-4.3.patch</filename>
            <type>text/plain</type>
            <size>542</size>
            <attacher name="Bernhard Rosenkraenzer">bero</attacher>
            
              <data encoding="base64">LS0tIFdlYkNvcmUvQ2hhbmdlTG9nLmFyawkyMDA4LTAyLTEzIDExOjMzOjE0LjAwMDAwMDAwMCAr
MDEwMAorKysgV2ViQ29yZS9DaGFuZ2VMb2cJMjAwOC0wMi0xMyAxMTozMzozNS4wMDAwMDAwMDAg
KzAxMDAKQEAgLTAsMCArMSw0IEBACisyMDA4LTAyLTEyICBCZXJuaGFyZCBSb3NlbmtyYWVuemVy
ICA8YmVyb0BhcmtsaW51eC5vcmc+CisKKwkqIHBsYXRmb3JtL1RpbWVyLmNwcDogTWFrZSBpdCBj
b21waWxlIHdpdGggZ2NjIDQuMworCi0tLSBXZWJDb3JlL3BsYXRmb3JtL1RpbWVyLmNwcC5hcmsJ
MjAwOC0wMi0xMyAxMTozMTowMy4wMDAwMDAwMDAgKzAxMDAKKysrIFdlYkNvcmUvcGxhdGZvcm0v
VGltZXIuY3BwCTIwMDgtMDItMTMgMTE6MzM6MDUuMDAwMDAwMDAwICswMTAwCkBAIC0zMCw2ICsz
MCw3IEBACiAjaW5jbHVkZSAiU3lzdGVtVGltZS5oIgogI2luY2x1ZGUgPG1hdGguaD4KICNpbmNs
dWRlIDxsaW1pdHM+CisjaW5jbHVkZSA8Y2xpbWl0cz4KICNpbmNsdWRlIDx3dGYvSGFzaFNldC5o
PgogI2luY2x1ZGUgPHd0Zi9WZWN0b3IuaD4KIAo=
</data>
<flag name="review"
          id="8349"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>