Closed Bug 779654 Opened 13 years ago Closed 11 years ago

jsanalyze.cpp fails to build with MSVC 2008

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 778469

People

(Reporter: joe, Unassigned)

Details

(Whiteboard: [js:p3])

jsanalyze.cpp c:\mozilla-central\js\src\config\rules.mk:1029:0$ c:/mozilla-build/python/python 2.7.exe -O c:/mozilla-central/js/src/build/cl.py cl -Fojsanalyze.obj -c -DEXPO RT_JS_API -DJS_HAS_CTYPES -DDLL_PREFIX=\"\" -DDLL_SUFFIX=\".dll\" -DNO_NSPR_10_S UPPORT -DUSE_ZLIB -Ictypes/libffi/include -I. -Ic:/mozilla-central/js/src/../.. /mfbt/double-conversion -Ic:/mozilla-central/js/src -I. -I./../../dist/include -Ic:/mozilla-central/obj-i686-pc-mingw32/dist/include/nspr -Ic:/mozilla-cen tral/js/src -Ic:/mozilla-central/js/src/assembler -Ic:/mozilla-central/js/src/ya rr -TP -nologo -wd4345 -D_CRT_SECURE_NO_WARNINGS -W3 -Gy -Fdgenerated.pdb -wd 4244 -wd4800 -we4553 -GR- -DDEBUG -D_DEBUG -DTRACING -Zi -Oy- -DUSE_SYSTEM_MALL OC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -MDd -FI ./js-confdefs.h -DMO ZILLA_CLIENT c:/mozilla-central/js/src/jsanalyze.cpp jsanalyze.cpp c:\mozilla-central\js\src\jsinferinlines.h(313) : error C2664: 'js_GetClassProto type' : cannot convert parameter 4 from 'JS::RootedObject *' to 'JS::MutableHand leObject' No constructor could take the source type, or constructor overload resol ution was ambiguous c:\mozilla-central\js\src\jsinferinlines.h(606) : error C2664: 'js_GetClassProto type' : cannot convert parameter 4 from 'JS::RootedObject *' to 'JS::MutableHand leObject' No constructor could take the source type, or constructor overload resol ution was ambiguous c:\mozilla-central\js\src\jsobjinlines.h(922) : error C2664: 'JSObject::lookupGe neric' : cannot convert parameter 3 from 'JS::RootedObject *' to 'JS::MutableHan dleObject' No constructor could take the source type, or constructor overload resol ution was ambiguous c:\mozilla-central\js\src\jsobjinlines.h(1164) : error C2664: 'JSObject::lookupG eneric' : cannot convert parameter 3 from 'JS::RootedObject *' to 'JS::MutableHa ndleObject' No constructor could take the source type, or constructor overload resol ution was ambiguous
I got bored with seeing the Windows warnings-as-errors shell builds on the Ionmonkey tree red with this since forever, so I hid them; if anyone ever fixes it, remind me to unhide them.
I'm confronted with the same problem when building with MSVC 2005.
Ah, the shell builds are bug 778469 (of which this is probably a duplicate).
Whiteboard: [js:p3]
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.