Subj : SpiderMonkey does not work when compiled with MSVC 6.0 in release mode To : netscape.public.mozilla.jseng From : dkhodos@yahoo.com (Dmitriy Khodos) Date : Wed Nov 12 2003 12:16 am Hello. I haven't really tried to see what happens on other platforms, but here's what's going on Win32. I get any SpiderMonkey version _after_ js-1.5-rc4a (including the current CVS snapshot), compile it in the release mode (I use MSVC 6.0) and run jsshell against the sample script: Release\jsshell.exe perfect.js Here's the error I get: perfect.js:16: ReferenceError: n is not defined In fact, the same will happen in any JS function, which refers to its argument(s). It appears that the issue was introduced in js-1.5-rc5. But the most surprising part is that even js-1.5-rc5 works fine when compiled in the debug mode. Any comments? Thanks. .