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)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla21
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file)
|
1.62 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 1•13 years ago
|
||
Ohh, typo s/I don't think FAIL_ON_WARNINGS is unnecessary/s/I think FAIL_ON_WARNINGS is unnecessary....
| Assignee | ||
Comment 2•13 years ago
|
||
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)
Comment 3•13 years ago
|
||
I think the comment should explain about what kind of conversion (in this case, size_t to int).
Comment 4•13 years ago
|
||
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+
Comment 5•13 years ago
|
||
Made comment 4 tweak and landed as:
https://hg.mozilla.org/mozilla-central/rev/c220bf4e8b6e
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 6•13 years ago
|
||
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
•