Closed
Bug 968363
Opened 10 years ago
Closed 10 years ago
Mark security/manager/ssl/src/ as FAIL_ON_WARNINGS
Categories
(Core :: Security, defect)
Core
Security
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
650 bytes,
patch
|
briansmith
:
review+
|
Details | Diff | Splinter Review |
With bug 968338 and bug 968348 fixed, security/manager/ssl/src/ is build-warning-free on all TBPL-tested build configurations. Let's mark it as FAIL_ON_WARNINGS to keep it that way.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8370936 -
Flags: review?(brian)
Assignee | ||
Updated•10 years ago
|
Comment 2•10 years ago
|
||
Thanks for the patch. IIRC, FAIL_ON_WARNINGS isn't the default on Windows builds, right? Can we change that for this module? (I almost always build on Windows.)
Assignee | ||
Comment 3•10 years ago
|
||
It's not the default anywhere (you have to put "ac_add_options --enable-warnings-as-errors" in your .mozconfig). We do have that in the TBPL mozconfigs for Windows/Mac/Linux/Android at least, though, and you should be able to build (and catch yourself from introducing warnings) if you put that in your .mozconfig. (It's not the default -- i.e. you have to opt into it -- because we want to minimize the chances of triggering errors in new contributors' local (clean) builds, if they're using a particularly old or new compiler that we don't test on TBPL and may warn about things that our compilers don't warn about.)
Assignee | ||
Comment 4•10 years ago
|
||
(You're probably remembering the situation before bug 824247 was fixed, though. Before that, we didn't have the mozconfig flag on our windows TBPL builders, so you could e.g. get a green windows-only Try run and then bust Linux/Mac when you landed. That's not the case anymore (modulo differences between the things that compilers decide to warn about).)
Comment 5•10 years ago
|
||
Comment on attachment 8370936 [details] [diff] [review] fix Review of attachment 8370936 [details] [diff] [review]: ----------------------------------------------------------------- NIT: please use r=briansmith in the commit message. Thanks for this, and thanks for explaining how FAIL_ON_WARNINGS works in detail.
Attachment #8370936 -
Flags: review?(brian) → review+
Assignee | ||
Comment 6•10 years ago
|
||
No problem -- thanks for the quick review turnarounds! Try run: https://tbpl.mozilla.org/?tree=Try&rev=e4e130270e6f
Assignee | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6082884469c
Flags: in-testsuite-
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e6082884469c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•