Summary: | [Qt] Treat warnings as errors by default for gcc | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Csaba Osztrogonác <ossy> | ||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WONTFIX | ||||||
Severity: | Normal | CC: | abecsi, allan.jensen, benjamin, eric, hausmann, kenneth, laszlo.gombos, tonikitoo | ||||
Priority: | P3 | Keywords: | Qt, QtTriaged | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 20721, 37916, 38045, 43192, 43193, 43350, 43353, 43355, 43356, 43358, 43359, 43360, 43412, 43413, 43698, 43876, 43920, 43963, 44466, 44468, 44593, 44672, 44843, 44855, 45246, 45301, 45373, 45384, 67778, 67928, 83584 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Csaba Osztrogonác
2010-07-29 08:39:34 PDT
(In reply to comment #9 in https://bugs.webkit.org/show_bug.cgi?id=30958) > My only concern would be the extra pressure to fix these warnings to keep the bot green. CCing Ossy to see what he think. > A somewhat relaxed version of this - which I think we should do - is to start treating warnings as errors by default (at least on platforms where this is realistic like i386) but have a provision (e.g. environment variable) not to do this for the build bot. > This will force most developers to look into the warning but does not put extra pressure on the bot. I absolutely agree with Laszlo, it is a good way to solve this bug. *** Bug 37916 has been marked as a duplicate of this bug. *** Created attachment 66858 [details] enable -Werror on x86/Linux/GCC platforms I think it's time to enable -Werror on x86/Linux/GCC platforms after https://bugs.webkit.org/show_bug.cgi?id=45373 fixed. The next steps will be Windows/GCC and ARM/Linux/GCC after all warnings fixed. Comment on attachment 66858 [details]
enable -Werror on x86/Linux/GCC platforms
r=me
I always feel silly when the EWS slaps me about some warning that my own machine knew about but wasn't loud enough.
Comment on attachment 66858 [details] enable -Werror on x86/Linux/GCC platforms cq-, because I will land manually after https://bugs.webkit.org/show_bug.cgi?id=45373 fixed Comment on attachment 66858 [details] enable -Werror on x86/Linux/GCC platforms Clearing flags on attachment: 66858 Committed r66972: <http://trac.webkit.org/changeset/66972> (In reply to comment #6) > (From update of attachment 66858 [details]) > Clearing flags on attachment: 66858 > > Committed r66972: <http://trac.webkit.org/changeset/66972> And a buildfix landed in http://trac.webkit.org/changeset/66990 , because linux-g++ is true when you build for maemo inside sbox, but we didn't want to enable -Werror for it now. I didn't run into this issue, because linux-g++ is false for ARM cross compiling, but linux-arm-g++ is true. Very nice, thanks for all this work ! |