<?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>29186</bug_id>
          
          <creation_ts>2009-09-11 08:53:13 -0700</creation_ts>
          <short_desc>template specialisation error on WINSCW</short_desc>
          <delta_ts>2009-09-17 03:47:25 -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>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>27065</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Janne Koskinen">koshuin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>hausmann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146577</commentid>
    <comment_count>0</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2009-09-11 08:53:13 -0700</bug_when>
    <thetext>Compiling literalparser.cpp for WINSCW complains about &quot;undefined identifier mode&quot;.
&quot;mode&quot; has been defined in the template specialisation, but the prototype of the function has a diffrent variable name for it &quot;parserMode&quot;.

This is addenum for https://bugs.webkit.org/show_bug.cgi?id=28069.

Even after the inlining Literalparser.cpp fails to compile with mwccsym Version 3.2.5 build 482 (Build 482).
There is two ways of fixing the compiler issue.
Either remove the parserMode from prototype or make the prototype to have the same name for argument as the implementation.
I chose the latter as it makes it more clear that we are dealing here with template specialisation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146582</commentid>
    <comment_count>1</comment_count>
      <attachid>39438</attachid>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2009-09-11 08:59:57 -0700</bug_when>
    <thetext>Created attachment 39438
literalparser.h patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147088</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-09-14 10:10:57 -0700</bug_when>
    <thetext>I continue to be entertained by this compiler. :)

I think &quot;parserMode&quot; is clearer than &quot;mode&quot; and would have changed them both to &quot;parserMode&quot;, but this is also OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147777</commentid>
    <comment_count>3</comment_count>
      <attachid>39438</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-09-17 03:35:45 -0700</bug_when>
    <thetext>Comment on attachment 39438
literalparser.h patch

Please don&apos;t mark the patch as r+ but use r? instead to ask for a review :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147780</commentid>
    <comment_count>4</comment_count>
      <attachid>39438</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-09-17 03:45:53 -0700</bug_when>
    <thetext>Comment on attachment 39438
literalparser.h patch

There we go, r=me. This is a really simple fix :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147781</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-09-17 03:47:25 -0700</bug_when>
    <thetext>Landed in r48462</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39438</attachid>
            <date>2009-09-11 08:59:57 -0700</date>
            <delta_ts>2009-09-17 03:45:53 -0700</delta_ts>
            <desc>literalparser.h patch</desc>
            <filename>literalparser.diff</filename>
            <type>text/plain</type>
            <size>1136</size>
            <attacher name="Janne Koskinen">koshuin</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZyBiL0phdmFTY3JpcHRDb3JlL0No
YW5nZUxvZwppbmRleCAyMjRhY2E3Li4zMGNjODcwIDEwMDY0NAotLS0gYS9KYXZhU2NyaXB0Q29y
ZS9DaGFuZ2VMb2cKKysrIGIvSmF2YVNjcmlwdENvcmUvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTEg
QEAKKzIwMDktMDktMTEgIEphbm5lIEtvc2tpbmVuICA8amFubmUucC5rb3NraW5lbkBkaWdpYS5j
b20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgV0lO
U0NXIFRlbXBsYXRlIHNwZWNpYWxpc2F0aW9uIG5hbWUgaW4gZGVjbGFyYXRpb24gbXVzdCB0aGUg
YmUgdGhlIHNhbWUgYXMgaW4gaW1wbGVtZW50YXRpb24uCisKKyAgICAgICAgKiBydW50aW1lL0xp
dGVyYWxQYXJzZXIuaDoKKwogMjAwOS0wOS0wNCAgT2xpdmVyIEh1bnQgIDxvbGl2ZXJAYXBwbGUu
Y29tPgogCiAgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoQnVpbGQgZml4KS4KZGlmZiAtLWdp
dCBhL0phdmFTY3JpcHRDb3JlL3J1bnRpbWUvTGl0ZXJhbFBhcnNlci5oIGIvSmF2YVNjcmlwdENv
cmUvcnVudGltZS9MaXRlcmFsUGFyc2VyLmgKaW5kZXggYmNlZWU3Yy4uMGY4MDcyYiAxMDA2NDQK
LS0tIGEvSmF2YVNjcmlwdENvcmUvcnVudGltZS9MaXRlcmFsUGFyc2VyLmgKKysrIGIvSmF2YVNj
cmlwdENvcmUvcnVudGltZS9MaXRlcmFsUGFyc2VyLmgKQEAgLTg5LDcgKzg5LDcgQEAgbmFtZXNw
YWNlIEpTQyB7CiAgICAgICAgICAgICAKICAgICAgICAgcHJpdmF0ZToKICAgICAgICAgICAgIFRv
a2VuVHlwZSBsZXgoTGl0ZXJhbFBhcnNlclRva2VuJik7Ci0gICAgICAgICAgICB0ZW1wbGF0ZSA8
UGFyc2VyTW9kZSBwYXJzZXJNb2RlPiBUb2tlblR5cGUgbGV4U3RyaW5nKExpdGVyYWxQYXJzZXJU
b2tlbiYpOworICAgICAgICAgICAgdGVtcGxhdGUgPFBhcnNlck1vZGUgbW9kZT4gVG9rZW5UeXBl
IGxleFN0cmluZyhMaXRlcmFsUGFyc2VyVG9rZW4mKTsKICAgICAgICAgICAgIFRva2VuVHlwZSBs
ZXhOdW1iZXIoTGl0ZXJhbFBhcnNlclRva2VuJik7CiAgICAgICAgICAgICBMaXRlcmFsUGFyc2Vy
VG9rZW4gbV9jdXJyZW50VG9rZW47CiAgICAgICAgICAgICBVU3RyaW5nIG1fc3RyaW5nOwo=
</data>
<flag name="review"
          id="20816"
          type_id="1"
          status="+"
          setter="hausmann"
    />
          </attachment>
      

    </bug>

</bugzilla>