<?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>29048</bug_id>
          
          <creation_ts>2009-09-08 13:43:27 -0700</creation_ts>
          <short_desc>[Qt] make RenderStyle.h compile in winscw compiler.</short_desc>
          <delta_ts>2010-12-16 09:28:41 -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>Tools / Tests</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>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27065</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yongjun Zhang">yongjun.zhang</reporter>
          <assigned_to name="Yongjun Zhang">yongjun.zhang</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>hausmann</cc>
    
    <cc>koshuin</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>145519</commentid>
    <comment_count>0</comment_count>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-09-08 13:43:27 -0700</bug_when>
    <thetext>In RenderStyle.h, Winscw compiler is not able to resolve compareEuqal used in SET_VAR macro; the compiler reports error &quot;illegal operand&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145551</commentid>
    <comment_count>1</comment_count>
      <attachid>39217</attachid>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-09-08 14:50:49 -0700</bug_when>
    <thetext>Created attachment 39217
Change compareEqual to a macro in Winscw compiler to get around &quot;illegal operand&quot; error when compareEqual is defined as template.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145552</commentid>
    <comment_count>2</comment_count>
      <attachid>39217</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-08 14:53:39 -0700</bug_when>
    <thetext>Comment on attachment 39217
Change compareEqual to a macro in Winscw compiler to get around &quot;illegal operand&quot; error when compareEqual is defined as template.

There needs to be a comment next to the macro definition as to why it exists.

Also, could you paste the error in the bug?  Are we sure this is the best solution?  Do we have a bug filed with the winscw compiler?  If so, can we link to it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145693</commentid>
    <comment_count>3</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-09 02:55:53 -0700</bug_when>
    <thetext>Please use the keyword &apos;Qt&apos; for bugs related to QtWebKit. The component &apos;WebKit Qt&apos; is for QtWebKit API issues only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175491</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-12-29 03:45:58 -0800</bug_when>
    <thetext>This appears to be one of the few remaining WINSCW issues. Any update on this about the error message, etc.? (See Eric&apos;s comment)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176049</commentid>
    <comment_count>5</comment_count>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-12-30 14:25:56 -0800</bug_when>
    <thetext>There was a bug reported against this in Winscw compiler bugzilla:
https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=10447</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176050</commentid>
    <comment_count>6</comment_count>
      <attachid>45686</attachid>
    <who name="Yongjun Zhang">yongjun.zhang</who>
    <bug_when>2009-12-30 14:27:21 -0800</bug_when>
    <thetext>Created attachment 45686
add link to winscw compiler bug as suggested by Erik.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176054</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-30 14:33:53 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45686 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176185</commentid>
    <comment_count>8</comment_count>
      <attachid>45686</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2009-12-31 07:03:38 -0800</bug_when>
    <thetext>Comment on attachment 45686
add link to winscw compiler bug as suggested by Erik.

Looks good to me, r+; 

At commit, it would be useful to add a comment right by the macro in RenderStyle.h as well, as Eric suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176686</commentid>
    <comment_count>9</comment_count>
      <attachid>45686</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-04 07:33:50 -0800</bug_when>
    <thetext>Comment on attachment 45686
add link to winscw compiler bug as suggested by Erik.

Clearing flags on attachment: 45686

Committed r52733: &lt;http://trac.webkit.org/changeset/52733&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>176687</commentid>
    <comment_count>10</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-04 07:33:55 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39217</attachid>
            <date>2009-09-08 14:50:49 -0700</date>
            <delta_ts>2009-09-08 14:53:38 -0700</delta_ts>
            <desc>Change compareEqual to a macro in Winscw compiler to get around &quot;illegal operand&quot; error when compareEqual is defined as template.</desc>
            <filename>RenderStyle_h.patch</filename>
            <type>text/plain</type>
            <size>1279</size>
            <attacher name="Yongjun Zhang">yongjun.zhang</attacher>
            
              <data encoding="base64">SW5kZXg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ZW5kZXJTdHlsZS5oCShyZXZpc2lv
biA0ODE2MCkKKysrIFdlYkNvcmUvcmVuZGVyaW5nL3N0eWxlL1JlbmRlclN0eWxlLmgJKHdvcmtp
bmcgY29weSkKQEAgLTg3LDcgKzg3LDExIEBACiAjaW5jbHVkZSAiQmluZGluZ1VSSS5oIgogI2Vu
ZGlmCiAKKyNpZiBQTEFURk9STShXSU5TQ1cpCisjZGVmaW5lIGNvbXBhcmVFcXVhbCh0LCB1KSAg
ICAgICAgICAgICAgKCh0KSA9PSAodSkpCisjZWxzZQogdGVtcGxhdGU8dHlwZW5hbWUgVCwgdHlw
ZW5hbWUgVT4gaW5saW5lIGJvb2wgY29tcGFyZUVxdWFsKGNvbnN0IFQmIHQsIGNvbnN0IFUmIHUp
IHsgcmV0dXJuIHQgPT0gc3RhdGljX2Nhc3Q8VD4odSk7IH0KKyNlbmRpZgogCiAjZGVmaW5lIFNF
VF9WQVIoZ3JvdXAsIHZhcmlhYmxlLCB2YWx1ZSkgXAogICAgIGlmICghY29tcGFyZUVxdWFsKGdy
b3VwLT52YXJpYWJsZSwgdmFsdWUpKSBcCg==
</data>
<flag name="review"
          id="20283"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45686</attachid>
            <date>2009-12-30 14:27:21 -0800</date>
            <delta_ts>2010-01-04 07:33:49 -0800</delta_ts>
            <desc>add link to winscw compiler bug as suggested by Erik.</desc>
            <filename>RenderStyle.patch</filename>
            <type>text/plain</type>
            <size>1377</size>
            <attacher name="Yongjun Zhang">yongjun.zhang</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MjY3MikKKysrIFdlYkNvcmUv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gNTI2NjAp
CisrKyBXZWJDb3JlL3JlbmRlcmluZy9zdHlsZS9SZW5kZXJTdHlsZS5oCSh3b3JraW5nIGNvcHkp
CkBAIC04OSw3ICs4OSwxMSBAQAogI2luY2x1ZGUgIkJpbmRpbmdVUkkuaCIKICNlbmRpZgogCisj
aWYgQ09NUElMRVIoV0lOU0NXKQorI2RlZmluZSBjb21wYXJlRXF1YWwodCwgdSkgICAgICAoKHQp
ID09ICh1KSkKKyNlbHNlCiB0ZW1wbGF0ZTx0eXBlbmFtZSBULCB0eXBlbmFtZSBVPiBpbmxpbmUg
Ym9vbCBjb21wYXJlRXF1YWwoY29uc3QgVCYgdCwgY29uc3QgVSYgdSkgeyByZXR1cm4gdCA9PSBz
dGF0aWNfY2FzdDxUPih1KTsgfQorI2VuZGlmCiAKICNkZWZpbmUgU0VUX1ZBUihncm91cCwgdmFy
aWFibGUsIHZhbHVlKSBcCiAgICAgaWYgKCFjb21wYXJlRXF1YWwoZ3JvdXAtPnZhcmlhYmxlLCB2
YWx1ZSkpIFwK
</data>

          </attachment>
      

    </bug>

</bugzilla>