<?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>32786</bug_id>
          
          <creation_ts>2009-12-20 03:24:09 -0800</creation_ts>
          <short_desc>[WML] Compilation errors in WML enabled build.</short_desc>
          <delta_ts>2009-12-20 19:18:07 -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>PC</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>0</everconfirmed>
          <reporter name="Nayan">nayankk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>173695</commentid>
    <comment_count>0</comment_count>
    <who name="Nayan">nayankk</who>
    <bug_when>2009-12-20 03:24:09 -0800</bug_when>
    <thetext>Due to the change in change set #52314, following errors are introduced in WebCore wml module.

CXX    WebCore/wml/libWebCore_la-WMLDocument.lo
../../WebCore/wml/WMLDocument.cpp: In member function ‘virtual void WebCore::WMLDocument::finishedParsing()’:
../../WebCore/wml/WMLDocument.cpp:74: error: invalid use of incomplete type ‘struct WebCore::BackForwardList’
../../WebCore/page/Page.h:44: error: forward declaration of ‘struct WebCore::BackForwardList’

CXX    WebCore/wml/libWebCore_la-WMLPageState.lo
In file included from ../../WebCore/wml/WMLPageState.cpp:25:
../../WebCore/wml/WMLPageState.h:35: error: expected initializer before ‘&lt;’ token
../../WebCore/wml/WMLPageState.h:51: error: ‘WMLVariableMap’ has not been declared
../../WebCore/wml/WMLPageState.h:69: error: ‘WMLVariableMap’ does not name a type
../../WebCore/wml/WMLPageState.h: In member function ‘void WebCore::WMLPageState::storeVariable(const WebCore::String&amp;, const WebCore::String&amp;)’:
../../WebCore/wml/WMLPageState.h:50: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.h: In member function ‘void WebCore::WMLPageState::storeVariables(int&amp;)’:
../../WebCore/wml/WMLPageState.h:51: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.h: In member function ‘WebCore::String WebCore::WMLPageState::getVariable(const WebCore::String&amp;) const’:
../../WebCore/wml/WMLPageState.h:52: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.h: In member function ‘bool WebCore::WMLPageState::hasVariables() const’:
../../WebCore/wml/WMLPageState.h:53: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.cpp: In destructor ‘virtual WebCore::WMLPageState::~WMLPageState()’:
../../WebCore/wml/WMLPageState.cpp:44: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.cpp: In member function ‘void WebCore::WMLPageState::reset()’:
../../WebCore/wml/WMLPageState.cpp:63: error: ‘m_variables’ was not declared in this scope
../../WebCore/wml/WMLPageState.cpp:67: error: invalid use of incomplete type ‘struct WebCore::BackForwardList’
../../WebCore/page/Page.h:44: error: forward declaration of ‘struct WebCore::BackForwardList’
../../WebCore/wml/WMLPageState.cpp: In function ‘bool WebCore::tryAccessHistoryURLs(WebCore::Page*, WebCore::KURL&amp;, WebCore::KURL&amp;)’:
../../WebCore/wml/WMLPageState.cpp:127: error: invalid use of incomplete type ‘struct WebCore::BackForwardList’
../../WebCore/page/Page.h:44: error: forward declaration of ‘struct WebCore::BackForwardList’
../../WebCore/wml/WMLPageState.cpp:131: error: invalid use of incomplete type ‘struct WebCore::BackForwardList’
../../WebCore/page/Page.h:44: error: forward declaration of ‘struct WebCore::BackForwardList’
make[1]: *** [WebCore/wml/libWebCore_la-WMLPageState.lo] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173699</commentid>
    <comment_count>1</comment_count>
      <attachid>45267</attachid>
    <who name="Nayan">nayankk</who>
    <bug_when>2009-12-20 03:30:50 -0800</bug_when>
    <thetext>Created attachment 45267
Fix for compilation errors

Proposed patch for resolving compilation errors is attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173702</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-20 03:34:23 -0800</bug_when>
    <thetext>Attachment 45267 did not pass style-queue:

Failed to run &quot;WebKitTools/Scripts/check-webkit-style&quot; exit_code: 1
WebCore/wml/WMLPageState.cpp:31:  Found header this file implements after a header this file implements. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
WebCore/wml/WMLDocument.cpp:33:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173763</commentid>
    <comment_count>3</comment_count>
      <attachid>45267</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-12-20 09:32:20 -0800</bug_when>
    <thetext>Comment on attachment 45267
Fix for compilation errors

Please add these headers in alphabetical order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173764</commentid>
    <comment_count>4</comment_count>
      <attachid>45284</attachid>
    <who name="Nayan">nayankk</who>
    <bug_when>2009-12-20 09:38:17 -0800</bug_when>
    <thetext>Created attachment 45284
Compilation error fix.

Proper fix taking care of review-bot output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173765</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-20 09:38:39 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 45284 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173855</commentid>
    <comment_count>6</comment_count>
      <attachid>45284</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-20 19:18:02 -0800</bug_when>
    <thetext>Comment on attachment 45284
Compilation error fix.

Clearing flags on attachment: 45284

Committed r52431: &lt;http://trac.webkit.org/changeset/52431&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>173856</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-20 19:18:07 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45267</attachid>
            <date>2009-12-20 03:30:50 -0800</date>
            <delta_ts>2009-12-20 09:38:17 -0800</delta_ts>
            <desc>Fix for compilation errors</desc>
            <filename>Fix_bug_32786.patch</filename>
            <type>text/plain</type>
            <size>1487</size>
            <attacher name="Nayan">nayankk</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MjQxMSkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMDktMTItMjAgIE5heWFuIEt1bWFyIEsgIDxuYXlhbmtrQGdtYWls
LmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBG
aXggZm9yIGNvbXBpbGF0aW9uIGVycm9ycyBpbiBXTUwgbW9kdWxlLCBkdWUgdG8gdGhlIGNoYW5n
ZXNldCAjNTIzMTQu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KQEAgLTIyLDE0ICsy
MiwxNSBAQAogI2luY2x1ZGUgImNvbmZpZy5oIgogCiAjaWYgRU5BQkxFKFdNTCkKLSNpbmNsdWRl
ICJXTUxQYWdlU3RhdGUuaCIKLQogI2luY2x1ZGUgIkNTdHJpbmcuaCIKICNpbmNsdWRlICJEb2N1
bWVudC5oIgogI2luY2x1ZGUgIkZyYW1lLmgiCiAjaW5jbHVkZSAiSGlzdG9yeUl0ZW0uaCIKICNp
bmNsdWRlICJLVVJMLmgiCiAjaW5jbHVkZSAiUGFnZS5oIgorI2luY2x1ZGUgIldNTFBhZ2VTdGF0
ZS5oIgorI2luY2x1ZGUgIkJhY2tGb3J3YXJkTGlzdC5oIgorCiAKIG5hbWVzcGFjZSBXZWJDb3Jl
IHsKIAo=
</data>
<flag name="review"
          id="27272"
          type_id="1"
          status="-"
          setter="abarth"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>45284</attachid>
            <date>2009-12-20 09:38:17 -0800</date>
            <delta_ts>2009-12-20 19:18:01 -0800</delta_ts>
            <desc>Compilation error fix.</desc>
            <filename>Fix_bug_30989_revisited.patch</filename>
            <type>text/plain</type>
            <size>1696</size>
            <attacher name="Nayan">nayankk</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MjQyMCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMDktMTItMjAgIE5heWFuIEt1bWFyIEsgIDxuYXlhbmtrQGdtYWls
LmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBG
aXggZm9yIGNvbXBp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09PT09PQotLS0gV2ViQ29y
ZS93bWwvV01MUGFnZVN0YXRlLmNwcAkocmV2aXNpb24gNTI0MTEpCisrKyBXZWJDb3JlL3dtbC9X
TUxQYWdlU3RhdGUuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0yNCw2ICsyNCw3IEBACiAjaWYgRU5B
QkxFKFdNTCkKICNpbmNsdWRlICJXTUxQYWdlU3RhdGUuaCIKIAorI2luY2x1ZGUgIkJhY2tGb3J3
YXJkTGlzdC5oIgogI2luY2x1ZGUgIkNTdHJpbmcuaCIKICNpbmNsdWRlICJEb2N1bWVudC5oIgog
I2luY2x1ZGUgIkZyYW1lLmgiCkluZGV4OiBXZWJDb3JlL3dtbC9XTUxQYWdlU3RhdGUuaAo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSBXZWJDb3JlL3dtbC9XTUxQYWdlU3RhdGUuaAkocmV2aXNpb24gNTI0MTEpCisr
KyBXZWJDb3JlL3dtbC9XTUxQYWdlU3RhdGUuaAkod29ya2luZyBjb3B5KQpAQCAtMjUsNiArMjUs
NyBAQAogCiAjaWYgRU5BQkxFKFdNTCkKICNpbmNsdWRlICJTdHJpbmdIYXNoLmgiCisjaW5jbHVk
ZSA8d3RmL0hhc2hNYXAuaD4KIAogbmFtZXNwYWNlIFdlYkNvcmUgewogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>