Closed Bug 684664 Opened 13 years ago Closed 13 years ago

js\src\methodjit\BaseAssembler.h(1282) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

Categories

(Core :: JavaScript Engine, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=6274862&full=1

d:/mozilla-build/python25/python2.5.exe -O e:/builds/moz2_slave/m-cen-w32/build/js/src/build/cl.py cl -Fojscompartment.obj -c   -DOSTYPE=\"WINNT5.2\" -DOSARCH=WINNT -DEXPORT_JS_API -DIMPL_MFBT -DJS_HAS_CTYPES -DDLL_PREFIX=\"\" -DDLL_SUFFIX=\".dll\" -Ictypes/libffi/include -I.  -I/e/builds/moz2_slave/m-cen-w32/build/js/src -I. -I./../../dist/include -I./../../dist/include/nsprpub  -Ie:/builds/moz2_slave/m-cen-w32/build/obj-firefox/dist/include/nspr  -I/e/builds/moz2_slave/m-cen-w32/build/js/src -I/e/builds/moz2_slave/m-cen-w32/build/js/src/assembler -I/e/builds/moz2_slave/m-cen-w32/build/js/src/yarr    -GR- -TP -nologo -wd4345 -D_CRT_SECURE_NO_WARNINGS -W3 -Gy -Fdgenerated.pdb -wd4244 -wd4800 -we4553  -DNDEBUG -DTRIMMED -Zi -Zi -UDEBUG -DNDEBUG -O2 -Oy -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -MD            -FI ./js-confdefs.h -DMOZILLA_CLIENT /e/builds/moz2_slave/m-cen-w32/build/js/src/jscompartment.cpp
jscompartment.cpp

e:\builds\moz2_slave\m-cen-w32\build\js\src\methodjit/MethodJIT.h(690) : warning C4305: 'argument' : truncation from 'js::MaybeConstruct' to 'bool'

e:\builds\moz2_slave\m-cen-w32\build\js\src\methodjit\BaseAssembler.h(1282) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

e:\builds\moz2_slave\m-cen-w32\build\js\src\methodjit\BaseAssembler.h(1283) : warning C4146: unary minus operator applied to unsigned type, result still unsigned

e:\builds\moz2_slave\m-cen-w32\build\js\src\methodjit\BaseAssembler.h(1287) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
This is by bug 677006.
Blocks: 677006
Attached patch fixSplinter Review
Attachment #558253 - Flags: review?(bhackett1024)
Attachment #558253 - Flags: review?(bhackett1024) → review+
Assignee: general → m_kato
http://hg.mozilla.org/mozilla-central/rev/e0e96051ac63
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: