Closed Bug 827643 Opened 13 years ago Closed 13 years ago

turn off FAIL_ON_WARNINGS on win64 builder

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla21

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

Since win64 builder is tier-3, I don't think FAIL_ON_WARNINGS is unnecessary Because, MSVC x64 generates C4267 warning the following code. size_t length = 1; int count; count = length; <--- C4267 due to possible data loss. so if we fix this, we need various code change. But Win64 is tier-3, we should not spend a time to fix this. https://tbpl.mozilla.org/php/getParsedLog.php?id=18554040&tree=Firefox&full=1#error0
Ohh, typo s/I don't think FAIL_ON_WARNINGS is unnecessary/s/I think FAIL_ON_WARNINGS is unnecessary....
Blocks: 824247
Attached patch fix — — Splinter Review
FAIL_ON_WARNINGS is unnecessary on Win64 builder. Win64 compiler generates possible data loss warning... I don't want to use -Wd option. Because void* -> int/long casting should generate warning.
Attachment #698984 - Flags: review?(ted)
I think the comment should explain about what kind of conversion (in this case, size_t to int).
Comment on attachment 698984 [details] [diff] [review] fix Review of attachment 698984 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/config/mozconfigs/win64/debug @@ +14,5 @@ > fi > > +# Don't turn on FAIL_ON_WARNINGS bacases Win64 compiler generates various > +# possible loss warning (Bug 827643) > +# ac_add_options --enable-warnings-as-errors Do you want to just remove this line instead of commenting it out?
Attachment #698984 - Flags: review?(ted) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
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: