Bug 36971 - [Qt]Add -Wextra warning level to the QtWebKit build
Summary: [Qt]Add -Wextra warning level to the QtWebKit build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-04-01 10:37 PDT by Laszlo Gombos
Modified: 2010-04-02 00:22 PDT (History)
3 users (show)

See Also:


Attachments
proposed patch (1.32 KB, patch)
2010-04-01 10:49 PDT, Laszlo Gombos
no flags Details | Formatted Diff | Diff
Patch (2.04 KB, patch)
2010-04-02 00:14 PDT, Steve Falkenburg
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Gombos 2010-04-01 10:37:57 PDT
QtWebKit should follow mac's lead to turn on -Wextra for QtWebKit build.
Comment 1 Kenneth Rohde Christiansen 2010-04-01 10:47:46 PDT
I fully agree
Comment 2 Laszlo Gombos 2010-04-01 10:49:15 PDT
Created attachment 52312 [details]
proposed patch

New warnings introduced - I propose to address these in a separate patch as these warnings are not specific to the Qt port 

webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: In function 'bool pluginRemoveProperty(NPObject*, void*)':
webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:1005: warning: no return statement in function returning non-void
webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: In function 'bool pluginEnumerate(NPObject*, void***, uint32_t*)':
webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:1009: warning: no return statement in function returning non-void
webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: In function 'bool plugininConstruct(NPObject*, const NPVariant*, uint32_t, NPVariant*)':
webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:1013: warning: no return statement in function returning non-void
Comment 3 WebKit Commit Bot 2010-04-01 11:05:52 PDT
Comment on attachment 52312 [details]
proposed patch

Clearing flags on attachment: 52312

Committed r56923: <http://trac.webkit.org/changeset/56923>
Comment 4 WebKit Commit Bot 2010-04-01 11:05:59 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Steve Falkenburg 2010-04-02 00:14:25 PDT
Created attachment 52390 [details]
Patch
Comment 6 Steve Falkenburg 2010-04-02 00:16:39 PDT
Ignore my patch in this bug - webkit-patch attached it to the wrong bug.
Comment 7 Eric Seidel (no email) 2010-04-02 00:22:25 PDT
Comment on attachment 52390 [details]
Patch

Sorry for the trouble steve!  We believe to have fixed this in bug 36477 which was landed earlier today.
Comment 8 Eric Seidel (no email) 2010-04-02 00:22:50 PDT
Comment on attachment 52312 [details]
proposed patch

Leaving this un-marked.  Laszlo can re-mark for review if needed.