Closed Bug 685468 Opened 13 years ago Closed 13 years ago

warnaserr: js/src/jsinterp.cpp(6176) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation

Categories

(Core :: JavaScript Engine, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: m_kato, Assigned: m_kato)

Details

Attachments

(1 file)

hit on warnaserr.

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

d:/mozilla-build/python25/python2.5.exe -O e:/builds/moz2_slave/m-in-w32-dbg/build/js/src/build/cl.py cl -Fojsinterp.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-in-w32-dbg/build/js/src -I. -I./../../dist/include -I./../../dist/include/nsprpub  -Ie:/builds/moz2_slave/m-in-w32-dbg/build/obj-firefox/dist/include/nspr  -I/e/builds/moz2_slave/m-in-w32-dbg/build/js/src -I/e/builds/moz2_slave/m-in-w32-dbg/build/js/src/assembler -I/e/builds/moz2_slave/m-in-w32-dbg/build/js/src/yarr    -GR- -TP -nologo -wd4345 -D_CRT_SECURE_NO_WARNINGS -W3 -Gy -Fdgenerated.pdb -wd4244 -wd4800 -we4553  -DDEBUG -D_DEBUG -DTRACING -Zi -Oy- -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -MDd           -FI ./js-confdefs.h -DMOZILLA_CLIENT /e/builds/moz2_slave/m-in-w32-dbg/build/js/src/jsinterp.cpp
jsinterp.cpp
 :
 :
e:/builds/moz2_slave/m-in-w32-dbg/build/js/src/jsinterp.cpp(6176) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation
Attached patch fixSplinter Review
this warning is from bug 684110
Attachment #559820 - Flags: review?(luke)
Attachment #559820 - Flags: review?(luke) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/8232d500fd89
Assignee: general → m_kato
Whiteboard: [inbound]
https://hg.mozilla.org/mozilla-central/rev/8232d500fd89
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.