<?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>27052</bug_id>
          
          <creation_ts>2009-07-07 18:45:42 -0700</creation_ts>
          <short_desc>Undef ASSERT, to avoid excessive warnings</short_desc>
          <delta_ts>2009-07-15 07:04:22 -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>S60 Emulator</rep_platform>
          <op_sys>S60 3rd edition</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="Norbert Leser">norbert.leser</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>hausmann</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>yongjun.zhang</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130331</commentid>
    <comment_count>0</comment_count>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2009-07-07 18:45:42 -0700</bug_when>
    <thetext>ASSERT will be defined in both conditional branches of the code following the proposed patch.
The explicit undef avoids potential warning messages during compilation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130332</commentid>
    <comment_count>1</comment_count>
      <attachid>32412</attachid>
    <who name="Norbert Leser">norbert.leser</who>
    <bug_when>2009-07-07 18:47:22 -0700</bug_when>
    <thetext>Created attachment 32412
Code patch for Assertion.h

2nd attempt to add attachment - failed first time</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131084</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-07-10 23:13:37 -0700</bug_when>
    <thetext>I don&apos;t understand the reason for this patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131867</commentid>
    <comment_count>3</comment_count>
      <attachid>32780</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-07-15 06:05:58 -0700</bug_when>
    <thetext>Created attachment 32780
Second try.

Changed the patch so that it only impacts the SYMBIAN platform and reflect the intention of this change better. In addition fixed the ChangeLog (filling in for Norbert.)

The reason for this patch is to kill the following compiler warning:

&quot;\WebKit\JavaScriptCore\wtf\Assertions.h&quot;, line 146: Warning:  #47-D: incompatible redefinition of macro &quot;ASSERT&quot; (declared at line 3029 of &quot;\epoc32\include\e32def.h&quot;)
  #define ASSERT(assertion) ((void)0)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131868</commentid>
    <comment_count>4</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-07-15 06:09:48 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Created an attachment (id=32780) [details]
&gt; Second try.
&gt; 
&gt; Changed the patch so that it only impacts the SYMBIAN platform and reflect the
&gt; intention of this change better. In addition fixed the ChangeLog (filling in
&gt; for Norbert.)
&gt; 
&gt; The reason for this patch is to kill the following compiler warning:
&gt; 
&gt; &quot;\WebKit\JavaScriptCore\wtf\Assertions.h&quot;, line 146: Warning:  #47-D:
&gt; incompatible redefinition of macro &quot;ASSERT&quot; (declared at line 3029 of
&gt; &quot;\epoc32\include\e32def.h&quot;)
&gt;   #define ASSERT(assertion) ((void)0)

The second patch should obsolete the first patch from Norbert - I do not seems to have rights to make the first patch obsolete.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131875</commentid>
    <comment_count>5</comment_count>
      <attachid>32412</attachid>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-07-15 06:56:25 -0700</bug_when>
    <thetext>Comment on attachment 32412
Code patch for Assertion.h

Obsolete according to lazlos.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131876</commentid>
    <comment_count>6</comment_count>
      <attachid>32780</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-07-15 07:03:50 -0700</bug_when>
    <thetext>Comment on attachment 32780
Second try.

r=me. I&apos;ll mention Symbian in the changelog when landing, to make it a bit clearer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131877</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-07-15 07:04:22 -0700</bug_when>
    <thetext>Landed in r45907</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32412</attachid>
            <date>2009-07-07 18:47:22 -0700</date>
            <delta_ts>2009-07-15 06:56:25 -0700</delta_ts>
            <desc>Code patch for Assertion.h</desc>
            <filename>patch_Assertions_h_1.txt</filename>
            <type>text/plain</type>
            <size>872</size>
            <attacher name="Norbert Leser">norbert.leser</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIENoYW5nZUxvZwkocmV2aXNpb24gNDU2
MTApCisrKyBDaGFuZ2VMb2cJKHdvcmtpbmcgY29weSkKQEAgLTEsMyArMSwxMSBAQAorMjAwOS0w
Ny0wNyAgTm9yYmVydCBMZXNlciAgPG5vcmJlcnQubGVzZXJAbm9raWEuY29tPgorCisgICAgICAg
IFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFVuZGVmIEFTU0VSVCwgdG8g
YXZvaWQgZXhjZXNzaXZlIHdhcm5pbmdzCisKKyAgICAgICAgKiBKYXZhU2NyaXB0Q29yZS93dGYv
QXNzZXJ0aW9ucy5oOgorCiAyMDA5LTA3LTAzICBKYW4gTWljaGFlbCBBbG9uem8gIDxqbWFsb256
b0B3ZWJraXQub3JnPgogCiAgICAgICAgIFJldmlld2VkIGJ5IFhhbiBMb3BleiBhbmQgR3VzdGF2
byBOb3JvbmhhLgpJbmRleDogSmF2YVNjcmlwdENvcmUvd3RmL0Fzc2VydGlvbnMuaA0KPT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PQ0KLS0tIEphdmFTY3JpcHRDb3JlL3d0Zi9Bc3NlcnRpb25zLmgJKHJldmlzaW9uIDQ1NjEw
KQorKysgSmF2YVNjcmlwdENvcmUvd3RmL0Fzc2VydGlvbnMuaAkod29ya2luZyBjb3B5KQpAQCAt
MTQxLDYgKzE0MSwxMCBAQCB2b2lkIFdURkxvZ1ZlcmJvc2UoY29uc3QgY2hhciogZmlsZSwgaW50
CiAjdW5kZWYgQVNTRVJUCiAjZW5kaWYKIAorI2lmIGRlZmluZWQgQVNTRVJUCisjdW5kZWYgQVNT
RVJUCisjZW5kaWYKKwogI2lmIEFTU0VSVF9ESVNBQkxFRAogCiAjZGVmaW5lIEFTU0VSVChhc3Nl
cnRpb24pICgodm9pZCkwKQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32780</attachid>
            <date>2009-07-15 06:05:58 -0700</date>
            <delta_ts>2009-07-15 07:03:50 -0700</delta_ts>
            <desc>Second try.</desc>
            <filename>patch_27052.txt</filename>
            <type>text/plain</type>
            <size>1110</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLS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ZsaWN0IHdpdGggd2luMzIuICovCisjaWYgUExBVEZPUk0oV0lOX09TKSB8fCBQTEFURk9STShT
WU1CSUFOKQorLyogRklYTUU6IENoYW5nZSB0byB1c2Ugc29tZXRoaW5nIG90aGVyIHRoYW4gQVNT
RVJUIHRvIGF2b2lkIHRoaXMgY29uZmxpY3Qgd2l0aCB0aGUgdW5kZXJseWluZyBwbGF0Zm9ybSAq
LwogI3VuZGVmIEFTU0VSVAogI2VuZGlmCiAK
</data>
<flag name="review"
          id="17152"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>