Closed Bug 968491 Opened 11 years ago Closed 11 years ago

Mark security/certverifier as FAIL_ON_WARNINGS

Categories

(Core :: Security: PSM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(2 files)

security/certverifier is nearly warning-free, aside from one warning (bug 962693 comment 10) that I think Camilo is posting a patch to suppress with #ifdefs soon.

One that patch is in, we can mark this directory as FAIL_ON_WARNINGS.  Proof:
  https://tbpl.mozilla.org/?tree=Try&rev=4b402b646287

(That Try run includes a s/static/inline/ hack to disable the aforementioned warning from bug 962693)
Attached patch fixSplinter Review
Attachment #8371070 - Flags: review?(brian)
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
(In reply to Daniel Holbert [:dholbert] from comment #0)
> (That Try run includes a s/static/inline/ hack to disable the aforementioned
> warning from bug 962693)

(er, correction: looks like I actually hacked around it in that Try run by commenting out the function)
Comment on attachment 8371070 [details] [diff] [review]
fix

Review of attachment 8371070 [details] [diff] [review]:
-----------------------------------------------------------------

NIT: please use r=briansmith in the commit message.

Thanks for this, and thanks for clarifying how FAIL_ON_WARNINGS works.
Attachment #8371070 - Flags: review?(brian) → review+
Will do. Thanks!
Comment on attachment 8371093 [details] [diff] [review]
add-ifdef-to-allow-warning-free-compile

per IRL conversation with cviecco: I'll land this with rs=me (to fix the build warning), on the understanding that this code won't remain #ifdeffed out for too long.
Comment on attachment 8371093 [details] [diff] [review]
add-ifdef-to-allow-warning-free-compile

Review of attachment 8371093 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks.
Attachment #8371093 - Flags: review+
or better, I'll land it with r=briansmith :)
Sanity-check Try run, with these patches and a few others:
 https://tbpl.mozilla.org/?tree=Try&rev=b19e92decdb9
(The build error in that Try run is from bug 968323's patch being not-quite-complete. I'll fix & re-Try, and then push if all is well.)
https://hg.mozilla.org/mozilla-central/rev/98236f59f6f9
https://hg.mozilla.org/mozilla-central/rev/b0854f873c68
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: