Closed
Bug 832545
Opened 13 years ago
Closed 13 years ago
Mark /gfx/thebes as FAIL_ON_WARNINGS (but not on MSVC, for 'loss of precision' warnings)
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
|
661 bytes,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
With bug 832440, bug 832486, and bug 832456 fixed, /gfx/thebes is now warning-free on my Linux machine.
Filing this bug on marking it as such.
(We can't mark this directory as warning-free on Windows/MSVC, because there are a lot of MSVC-only 'loss of precision' warnings for e.g. double --> float conversions, which I don't think are going to be fixed anytime soon.)
| Assignee | ||
Comment 1•13 years ago
|
||
I did a Try push to test this out:
https://tbpl.mozilla.org/?tree=Try&rev=cd68a7fafbcd
It hit mac failures due to using a deprecated API in some mac-specific code. I filed bug 832548 on that, in case it's easily-fixable -- but if we're stuck using that deprecated API (and hence stuck with the build warning), we may want to make the Makefile annotation non-Mac (as well as non-MSVC).
| Assignee | ||
Comment 2•13 years ago
|
||
Try push with the various android-only thebes build warnings fixed (I think):
https://tbpl.mozilla.org/?tree=Try&rev=5837079c554e
| Assignee | ||
Updated•13 years ago
|
Summary: Mark /gfx/thebes as FAIL_ON_WARNINGS on non-MSVC compilers → Mark /gfx/thebes as FAIL_ON_WARNINGS (but not on MSVC, for 'loss of precision' warnings, and not on Cocoa, for -Wdeprecated-declaration)
| Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #1)
> It hit mac failures due to using a deprecated API in some mac-specific code.
> [...] if we're
> stuck using that deprecated API (and hence stuck with the build warning), we
> may want to make the Makefile annotation non-Mac (as well as non-MSVC).
(actually, I think we may want to keep that build warning from triggering errors -- I filed bug 833405 on that.)
Depends on: 833405
| Assignee | ||
Updated•13 years ago
|
Summary: Mark /gfx/thebes as FAIL_ON_WARNINGS (but not on MSVC, for 'loss of precision' warnings, and not on Cocoa, for -Wdeprecated-declaration) → Mark /gfx/thebes as FAIL_ON_WARNINGS (but not on MSVC, for 'loss of precision' warnings)
| Assignee | ||
Comment 4•13 years ago
|
||
Green try push (w/ bug 832440 fixed), demonstrating that this doesn't bust stuff:
https://tbpl.mozilla.org/?tree=Try&rev=9c2797db6bb3
Comment 5•13 years ago
|
||
Comment on attachment 705159 [details] [diff] [review]
fix
I'm not to familiar with the right ifdef variable (_MSC_VER) to use but given that it's used elsewhere I don't think it's worth getting a build peer to review it.
Attachment #705159 -
Flags: review?(bgirard) → review+
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Benoit Girard (:BenWa) from comment #5)
> I'm not to familiar with the right ifdef variable (_MSC_VER) to use but
> given that it's used elsewhere I don't think it's worth getting a build peer
> to review it.
That's the variable that was used in bug 824247 part 3, which Ted reviewed, so I think it's good.
Thanks for the review!
| Assignee | ||
Comment 7•13 years ago
|
||
Flags: in-testsuite-
| Assignee | ||
Comment 8•13 years ago
|
||
all-green try run from earlier today, FWIW (w/ fix for recently-introduced bug 835473):
https://tbpl.mozilla.org/?tree=Try&rev=808ba8a1342e
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•