Closed
Bug 858224
Opened 12 years ago
Closed 12 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•12 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•12 years ago
|
Component: General → Build Config
| Assignee | ||
Comment 3•12 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•12 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•12 years ago
|
||
| Reporter | ||
Comment 7•12 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•12 years ago
|
||
(Thanks very much for taking care of these, BTW!)
| Reporter | ||
Comment 9•12 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•12 years ago
|
Attachment #734248 -
Flags: review?(ted) → review+
| Assignee | ||
Comment 10•12 years ago
|
||
Flags: in-testsuite-
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•