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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla23

People

(Reporter: dholbert, Assigned: emk)

References

Details

Attachments

(1 file)

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.
emk, any chance you're interested in taking this? I can take it, too, but I might not get to it right away.
Component: General → Build Config
Will do.
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
oops, right :) that's what I *meant* to search for in Comment 0.
Attached patch patchSplinter Review
I'll file follow-up bugs for directories which require changes other than Makefile.in.
Attachment #734248 - Flags: review?(dholbert)
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+
(Thanks very much for taking care of these, BTW!)
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
Attachment #734248 - Flags: review?(ted) → review+
https://hg.mozilla.org/mozilla-central/rev/d80e4fd84bb4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: