Closed
Bug 858224
Opened 11 years ago
Closed 11 years ago
Remove the MSVC exemptions for FAIL_ON_WARNINGS that are safe to remove, now that C4244 is disabled
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla23
People
(Reporter: dholbert, Assigned: emk)
References
Details
Attachments
(1 file)
11.21 KB,
patch
|
ted
:
review+
dholbert
:
feedback+
|
Details | Diff | Splinter Review |
Now that we're disabling our spammiest MSVC warning (C4244) in bug 857863, we should be able to remove many of the MSVC exemptions for FAIL_ON_WARNINGS. Rough list of these exemptions (with a few unrelated hits that use the same "_MSC_VER" check): https://mxr.mozilla.org/mozilla-central/search?string=ifdef+_MSC_VER&find=Makefile.in&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central I'm optimistically filing this bug on removing all of the exemptions, though that may require a few spot-fixes of other warnings here and there.
Reporter | ||
Comment 1•11 years ago
|
||
emk, any chance you're interested in taking this? I can take it, too, but I might not get to it right away.
Reporter | ||
Updated•11 years ago
|
Component: General → Build Config
Assignee | ||
Comment 3•11 years ago
|
||
Actually FAIL_ON_WARNINGS was wrapped by if*n*def _MSC_VER :) https://mxr.mozilla.org/mozilla-central/search?string=ifndef+_MSC_VER&find=Makefile.in&findi=&filter=^[^\0]*%24&hitlimit=&tree=mozilla-central
Assignee | ||
Comment 5•11 years ago
|
||
I'll file follow-up bugs for directories which require changes other than Makefile.in.
Attachment #734248 -
Flags: review?(dholbert)
Assignee | ||
Comment 6•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=db26bca23038
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 734248 [details] [diff] [review] patch Looks good to me! One nit on the commit message: >Bug 858224 - Remove the MSVC exemptions for FAIL_ON_WARNINGS That sounds like you're removing all of the exemptions, which you're not (yet). So -- say "Remove most" instead of "the"), since some will remain (temporarily) after this patch lands. Also, technically a widescale Makefile tweak like this should get build peer review (though I'm sure it'll be granted, and likely quickly). Hence, kicking review over to ted.
Attachment #734248 -
Flags: review?(ted)
Attachment #734248 -
Flags: review?(dholbert)
Attachment #734248 -
Flags: feedback+
Reporter | ||
Comment 8•11 years ago
|
||
(Thanks very much for taking care of these, BTW!)
Reporter | ||
Comment 9•11 years ago
|
||
CC'ing khuey, so he can steal this review if he sees it before Ted.
Summary: Remove the MSVC exemptions for FAIL_ON_WARNINGS → Remove the MSVC exemptions for FAIL_ON_WARNINGS that are safe to remove, now that C4244 is disabled
Updated•11 years ago
|
Attachment #734248 -
Flags: review?(ted) → review+
Assignee | ||
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d80e4fd84bb4
Flags: in-testsuite-
Comment 11•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d80e4fd84bb4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•