On Fri, Jul 17, 2009 at 12:52, Taras Glek<[email protected]> wrote: > 1.7 is ancient and wont work. You need spidermonkey that was released with > firefox 3.5. I just tested the 3.5 package for ubuntu and it works.
OK, the docs are out of date, in that case (https://developer.mozilla.org/En/Dehydra/Installing_Dehydra). Unfortunately, upgrading may not be possible for me. My environment is not very flexible (I will try to upgrade what we have, though). The only problem I've found with 1.7 is the use of JSVERSION_LATEST and 3 failures in make check: --------------------------------------------------------------------------- $ make check make -C test check make[1]: Entering directory `home/dnovillo/gcc-plugins/dehydra/test' python unit_test_harness.py dehydra "<gccinst>/cc1plus -quiet" ....x........xx.......................... Test Failure: Test command: <gccinst>/cc1plus -quiet -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg-gcc_dehydra-=test_strict.js onefunc.cc Failure msg: Expected 'OK' output; Errors: ../libs/xhydra.js:33: JS STRICTJS Exception: ReferenceError: reference to undefined property this._loc Test Failure: Test command: <gccinst>/cc1plus -quiet -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg-gcc_dehydra-=test_using_namespace.js using_namespace.cc Failure msg: Expected 'OK' output; Errors: using_namespace.cc:1:19: error: utility: No such file or directory using_namespace.cc: In function 'void f()': using_namespace.cc:4: error: 'make_pair' was not declared in this scope Test Failure: Test command: <gccinst>/cc1plus -quiet -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg-gcc_dehydra-=test_map.js empty.cc Failure msg: Expected 'OK' output; Errors: ../libs/map.js:163: JS Exception: SyntaxError: missing { before function body this.getLabel = labelFunc == undefined ? function (s) s : labelFunc; Unit Test Suite Summary: 38 passed 3 failed 0 error(s) --------------------------------------------------------------------------- Is there anything big I may be missing if I use 1.7? Thanks. Diego. _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
