<?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>76463</bug_id>
          
          <creation_ts>2012-01-17 09:25:47 -0800</creation_ts>
          <short_desc>[Qt] Debug build fails with debug qt5</short_desc>
          <delta_ts>2012-01-17 16:11:14 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Viatcheslav Ostapenko">ostap73</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>537155</commentid>
    <comment_count>0</comment_count>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2012-01-17 09:25:47 -0800</bug_when>
    <thetext>After this commit https://qt.gitorious.org/qt/qtbase/commit/14b929e9c448f2cc74fa047aaf8af283b81fbaf9 debug build of qt webkit fails if built with debug version of qt5.

In file included from ../../../../qt5trunk/qtbase/include/QtCore/qglobal.h:1:0,
                 from ../../../Source/WebCore/platform/graphics/IntSize.h:44,
                 from ../../../Source/WebCore/platform/DragImage.h:29,
                 from ../../../Source/WebCore/page/Frame.h:33,
                 from ../../../Source/WebCore/loader/FrameNetworkingContext.h:23,
                 from ../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.h:23,
                 from ../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp:22:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of ‘QTypeInfo&lt;QNetworkCookie&gt;’:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:413:5:   instantiated from ‘void QList&lt;T&gt;::node_destruct(QList&lt;T&gt;::Node*, QList&lt;T&gt;::Node*) [with T = QNetworkCookie]’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:739:5:   instantiated from ‘void QList&lt;T&gt;::dealloc(QListData::Data*) [with T = QNetworkCookie]’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:715:9:   instantiated from ‘QList&lt;T&gt;::~QList() [with T = QNetworkCookie]’
../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp:68:95:   instantiated from here
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:2049:5: error: invalid application of ‘sizeof’ to incomplete type ‘QNetworkCookie’ 
cc1plus: warnings being treated as errors
In file included from ../../../../qt5trunk/qtbase/include/QtCore/qlist.h:1:0,
                 from ../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:50,
                 from ../../../../qt5trunk/qtbase/include/QtCore/qobject.h:1,
                 from ../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:46,
                 from ../../../../qt5trunk/qtbase/include/QtCore/qiodevice.h:1,
                 from ../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/io/qdatastream.h:46,
                 from ../../../../qt5trunk/qtbase/include/QtCore/qdatastream.h:1,
                 from ../../../../qt5trunk/qtbase/include/QtCore/QDataStream:1,
                 from ../../../Source/WebCore/platform/graphics/IntPoint.h:33,
                 from ../../../Source/WebCore/platform/graphics/FloatSize.h:31,
                 from ../../../Source/WebCore/platform/DragImage.h:30,
                 from ../../../Source/WebCore/page/Frame.h:33,
                 from ../../../Source/WebCore/loader/FrameNetworkingContext.h:23,
                 from ../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.h:23,
                 from ../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp:22:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList&lt;T&gt;::node_destruct(QList&lt;T&gt;::Node*, QList&lt;T&gt;::Node*) [with T = QNetworkCookie]’:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:739:5:   instantiated from ‘void QList&lt;T&gt;::dealloc(QListData::Data*) [with T = QNetworkCookie]’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:715:9:   instantiated from ‘QList&lt;T&gt;::~QList() [with T = QNetworkCookie]’
../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp:68:95:   instantiated from here
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:414:27: error: possible problem detected in invocation of delete operator:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:414:27: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:414:27: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:416:28: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h: In member function ‘void QList&lt;T&gt;::node_copy(QList&lt;T&gt;::Node*, QList&lt;T&gt;::Node*, QList&lt;T&gt;::Node*) [with T = QNetworkCookie]’:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:694:9:   instantiated from ‘void QList&lt;T&gt;::detach_helper(int) [with T = QNetworkCookie]’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:708:5:   instantiated from ‘void QList&lt;T&gt;::detach_helper() [with T = QNetworkCookie]’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:118:80:   instantiated from ‘QList&lt;T&gt;::QList(const QList&lt;T&gt;&amp;) [with T = QNetworkCookie]’
../../../Source/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.cpp:68:95:   instantiated from here
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:382:17: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:388:17: error: possible problem detected in invocation of delete operator:
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:388:17: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:388:17: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:395:17: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtCore/../../src/corelib/tools/qlist.h:401:17: error: invalid use of incomplete type ‘struct QNetworkCookie’
../../../../qt5trunk/qtbase/include/QtNetwork/../../src/network/access/qnetworkaccessmanager.h:58:7: error: forward declaration of ‘struct QNetworkCookie’
make[2]: *** [obj/debug/WebKit/qt/WebCoreSupport/FrameNetworkingContextQt.o] Error 1
make[2]: Leaving directory `/home/sl/work/webkit2/WebKitBuild/Debug/Source&apos;
make[1]: *** [sub-api-pri-make_default-ordered] Error 2
make[1]: Leaving directory `/home/sl/work/webkit2/WebKitBuild/Debug/Source&apos;
make: *** [sub-Source-QtWebKit-pro-make_default-ordered] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537162</commentid>
    <comment_count>1</comment_count>
      <attachid>122778</attachid>
    <who name="Viatcheslav Ostapenko">ostap73</who>
    <bug_when>2012-01-17 09:36:35 -0800</bug_when>
    <thetext>Created attachment 122778
Add missing include to satisfy sizeof in QTypeInfo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537423</commentid>
    <comment_count>2</comment_count>
      <attachid>122778</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-17 16:11:10 -0800</bug_when>
    <thetext>Comment on attachment 122778
Add missing include to satisfy sizeof in QTypeInfo.

Clearing flags on attachment: 122778

Committed r105206: &lt;http://trac.webkit.org/changeset/105206&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>537424</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-17 16:11:14 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122778</attachid>
            <date>2012-01-17 09:36:35 -0800</date>
            <delta_ts>2012-01-17 16:11:10 -0800</delta_ts>
            <desc>Add missing include to satisfy sizeof in QTypeInfo.</desc>
            <filename>missing_QNetworkCookie_fix_01.diff</filename>
            <type>text/plain</type>
            <size>2108</size>
            <attacher name="Viatcheslav Ostapenko">ostap73</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQvcXQvQ2hhbmdlTG9nIGIvU291cmNlL1dlYktpdC9x
dC9DaGFuZ2VMb2cKaW5kZXggNjMzNTY5NC4uMzVkN2Q4YyAxMDA2NDQKLS0tIGEvU291cmNlL1dl
YktpdC9xdC9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdC9xdC9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNCBAQAorMjAxMi0wMS0xNyAgVmlhdGNoZXNsYXYgT3N0YXBlbmtvICA8b3N0YXBlbmtv
LnZpYXRjaGVzbGF2QG5va2lhLmNvbT4KKworICAgICAgICBbUXRdIERlYnVnIGJ1aWxkIGZhaWxz
IHdpdGggZGVidWcgcXQ1CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVn
LmNnaT9pZD03NjQ2MworCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIEFkZCBRTmV0d29ya0Nvb2tpZSBpbmNsdWRlIGluIG9yZGVyIHRvIHNhdGlzZnkgc2l6
ZW9mIGluIFFUeXBlSW5mbyBpbiBkZWJ1ZyBidWlsZHMuCisKKyAgICAgICAgKiBXZWJDb3JlU3Vw
cG9ydC9GcmFtZU5ldHdvcmtpbmdDb250ZXh0UXQuY3BwOgorCiAyMDEyLTAxLTEzICBNYXJjZWxv
IExpcmEgIDxtYXJjZWxvLmxpcmFAb3BlbmJvc3NhLm9yZz4KIAogICAgICAgICBbUXRdIEZpeCBt
aXNzaW5nIHNpZ25hbCBpbiBxd2ViZnJhbWUgQVBJIHRlc3QgZm9yIFF0NQpkaWZmIC0tZ2l0IGEv
U291cmNlL1dlYktpdC9xdC9XZWJDb3JlU3VwcG9ydC9GcmFtZU5ldHdvcmtpbmdDb250ZXh0UXQu
Y3BwIGIvU291cmNlL1dlYktpdC9xdC9XZ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dG8gc2F0aXNmeSBzaXplb2YgaW4gUVR5cGVJbmZvIGluIGRlYnVnIGJ1aWxk
cy4KKworICAgICAgICAqIFF0VGVzdEJyb3dzZXIvY29va2llamFyLmg6CisKIDIwMTItMDEtMTcg
IFRvciBBcm5lIFZlc3Riw7ggIDx0b3IuYXJuZS52ZXN0Ym9Abm9raWEuY29tPgogCiAgICAgICAg
IFtRdF0gRG9uJ3Qgc2V0IHRoZSAncHJpbWFyeScgZmxhZyB3aGVuIG1vY2tpbmcgdG91Y2gtcG9p
bnRzIGluIE1pbmlCcm93c2VyCmRpZmYgLS1naXQgYS9Ub29scy9RdFRlc3RCcm93c2VyL2Nvb2tp
ZWphci5oIGIvVG9vbHMvUXRUZXN0QnJvd3Nlci9jb29raWVqYXIuaAppbmRleCBhZDZiZDNjLi42
ZTVlNzNiIDEwMDY0NAotLS0gYS9Ub29scy9RdFRlc3RCcm93c2VyL2Nvb2tpZWphci5oCisrKyBi
L1Rvb2xzL1F0VGVzdEJyb3dzZXIvY29va2llamFyLmgKQEAgLTI5LDYgKzI5LDcgQEAKICNkZWZp
bmUgY29va2llamFyX2gKIAogI2luY2x1ZGUgPFFGaWxlPgorI2luY2x1ZGUgPFFOZXR3b3JrQ29v
a2llPgogI2luY2x1ZGUgPFFOZXR3b3JrQ29va2llSmFyPgogI2luY2x1ZGUgPFFUaW1lcj4KIAo=
</data>

          </attachment>
      

    </bug>

</bugzilla>