Closed
Bug 598055
Opened 15 years ago
Closed 14 years ago
MSVC jsscope.h(211) : warning C4307: '+' : integral constant overflow
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
mozilla2.0b8
People
(Reporter: sayrer, Assigned: jorendorff)
References
Details
(Whiteboard: [fixed by bug 604276])
> JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT + 1) == uint32(0));
Looks intentional. Should I disable C4307 using a pragma?
![]() |
||
Comment 1•15 years ago
|
||
Could rewrite -- would
JS_STATIC_ASSERT(uint32(SHAPE_INVALID_SLOT) == ~uint32(0));
pass without warning? Two's complement is here to stay! :-P
/be
Reporter | ||
Comment 2•15 years ago
|
||
yeah, that should pass without warning.
Updated•15 years ago
|
OS: Mac OS X → Windows 2000
Version: unspecified → Trunk
![]() |
Assignee | |
Comment 4•15 years ago
|
||
Landed a patch silencing the warning in bug 604276.
Comment 5•15 years ago
|
||
Updated•15 years ago
|
Severity: normal → trivial
Status: NEW → ASSIGNED
Flags: in-testsuite-
![]() |
Assignee | |
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 6•14 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1287267977.1287280239.25512.gz&fulltext=1
WINNT 5.2 mozilla-central build on 2010/10/16 15:26:17
had this warning.
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1289688821.1289696696.24803.gz&fulltext=1
WINNT 5.2 mozilla-central build on 2010/11/13 14:53:41
doesn't have it anymore.
V.Fixed
Status: RESOLVED → VERIFIED
Whiteboard: [fixed-in-tracemonkey] → [fixed by bug 604276]
Target Milestone: --- → mozilla2.0b8
You need to log in
before you can comment on or make changes to this bug.
Description
•