WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
70591
[WK2]Critical warning while building WebKit2 GTK+
https://bugs.webkit.org/show_bug.cgi?id=70591
Summary
[WK2]Critical warning while building WebKit2 GTK+
Vamshikrishna Yellenki
Reported
2011-10-21 02:07:29 PDT
Below are the critical warnings displayed while building webkit. ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp: In member function ‘void WebKit::WebPage::performDragControllerAction(uint64_t, WebCore::DragData)’: ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1818:16: warning: possible problem detected in invocation of delete operator: ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1816:24: warning: ‘data’ has incomplete type ../../Source/WebCore/platform/DragData.h:60:7: warning: forward declaration of ‘struct WebCore::DataObjectGtk’ ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1818:16: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1849:12: warning: possible problem detected in invocation of delete operator: ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1847:20: warning: ‘data’ has incomplete type ../../Source/WebCore/platform/DragData.h:60:7: warning: forward declaration of ‘struct WebCore::DataObjectGtk’ ../../Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1849:12: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
Attachments
patch for critical warnings while building webkit
(1.08 KB, patch)
2011-10-21 02:26 PDT
,
Vamshikrishna Yellenki
mrobinson
: review-
Details
Formatted Diff
Diff
Incorporated review comments and Updated patch
(1.02 KB, patch)
2011-10-23 22:42 PDT
,
Vamshikrishna Yellenki
no flags
Details
Formatted Diff
Diff
Updated the new patch
(1.02 KB, patch)
2011-10-23 23:00 PDT
,
Vamshikrishna Yellenki
mrobinson
: review-
Details
Formatted Diff
Diff
Updated spelling mistake
(1.02 KB, patch)
2011-10-25 00:12 PDT
,
Vamshikrishna Yellenki
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Vamshikrishna Yellenki
Comment 1
2011-10-21 02:26:11 PDT
Created
attachment 111927
[details]
patch for critical warnings while building webkit patch for critical warnings while building webkit
Martin Robinson
Comment 2
2011-10-21 09:30:25 PDT
Comment on
attachment 111927
[details]
patch for critical warnings while building webkit I think it would be better to include DataObjectGtk.h in the actual C++ file instead of removing this forward-declaration.
Vamshikrishna Yellenki
Comment 3
2011-10-23 22:42:33 PDT
Created
attachment 112151
[details]
Incorporated review comments and Updated patch Incorporated review comments and Updated patch
WebKit Review Bot
Comment 4
2011-10-23 22:45:00 PDT
Attachment 112151
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebKit2/ChangeLog', u'Source/WebKit..." exit_code: 1 Source/WebKit2/ChangeLog:8: Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Darin Adler
Comment 5
2011-10-23 22:47:57 PDT
Comment on
attachment 112151
[details]
Incorporated review comments and Updated patch View in context:
https://bugs.webkit.org/attachment.cgi?id=112151&action=review
> Source/WebKit2/WebProcess/WebPage/WebPage.cpp:132 > +#include"DataObjectGtk.h"
missing space here after include
>> Source/WebKit2/ChangeLog:8 >> + * WebProcess/WebPage/WebPage.cpp:Included DataObjectGtk.h to avoid warrings for GTK > > Need whitespace between colon and description [changelog/filechangedescriptionwhitespace] [5]
warnings rather than warrings
Vamshikrishna Yellenki
Comment 6
2011-10-23 23:00:20 PDT
Created
attachment 112153
[details]
Updated the new patch Updated the new patch.
Martin Robinson
Comment 7
2011-10-23 23:05:38 PDT
Comment on
attachment 112153
[details]
Updated the new patch View in context:
https://bugs.webkit.org/attachment.cgi?id=112153&action=review
> Source/WebKit2/ChangeLog:8 > + * WebProcess/WebPage/WebPage.cpp: Included DataObjectGtk.h to avoid warrings for GTK
The code change is fine, but I'm curious why you did not fix the spelling of warning in the ChangeLog.
Vamshikrishna Yellenki
Comment 8
2011-10-24 22:23:58 PDT
I verified style on patch. I do not know that it won't work on patch.
Martin Robinson
Comment 9
2011-10-24 22:33:53 PDT
(In reply to
comment #8
)
> I verified style on patch. I do not know that it won't work on patch.
I'm confused now. The style bot cannot find spelling errors as far as I know. :) Maybe you just missed in Darin's review he mentioned that you misspelled "warnings" as "warrings."
Vamshikrishna Yellenki
Comment 10
2011-10-24 23:15:37 PDT
It's not a spelling error. Error due to missing white space in ChangeLog file.
Martin Robinson
Comment 11
2011-10-24 23:49:22 PDT
(In reply to
comment #10
)
> It's not a spelling error. Error due to missing white space in ChangeLog file.
In the last line of Darin's review he said: "warnings rather than warrings" which referred to a misspelling in the ChangeLog. I'm sorry to make such a big deal out of such an insignificant error, but I guess you didn't see that in the review. I'll gladly r+ this patch ASAP if you fix that.
Vamshikrishna Yellenki
Comment 12
2011-10-24 23:53:23 PDT
I already submitted new patch(
comment #6
).
Martin Robinson
Comment 13
2011-10-24 23:56:08 PDT
Comment on
attachment 112153
[details]
Updated the new patch View in context:
https://bugs.webkit.org/attachment.cgi?id=112153&action=review
>> Source/WebKit2/ChangeLog:8 >> + * WebProcess/WebPage/WebPage.cpp: Included DataObjectGtk.h to avoid warrings for GTK > > The code change is fine, but I'm curious why you did not fix the spelling of warning in the ChangeLog.
The word is still misspelled.
Vamshikrishna Yellenki
Comment 14
2011-10-25 00:12:08 PDT
Created
attachment 112301
[details]
Updated spelling mistake Updated spelling mistake. Thanks Robinson.
WebKit Review Bot
Comment 15
2011-10-25 01:19:02 PDT
Comment on
attachment 112301
[details]
Updated spelling mistake Clearing flags on attachment: 112301 Committed
r98325
: <
http://trac.webkit.org/changeset/98325
>
WebKit Review Bot
Comment 16
2011-10-25 01:19:07 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug