Menu

#102 Doesn't build with xulrunner 9

open
nobody
None
5
2012-01-10
2012-01-10
No

Hi,

The build fail with xulrunner 9. Debian unstable i386.

/usr/include/mozjs/jsobj.h: In static member function ‘static size_t JSObject::offsetOfClassPointer()’:
/usr/include/mozjs/jsobj.h:1582:81: warning: invalid access to non-static data member ‘JSObject::clasp’ of NULL object [-Winvalid-offsetof]
/usr/include/mozjs/jsobj.h:1582:81: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
../src/scripting/script.cc: In member function ‘JSObject* Script::_load(zmm::String)’:
../src/scripting/script.cc:565:34: error: cannot convert ‘JSScript*’ to ‘JSObject*’ in assignment
../src/scripting/script.cc: In member function ‘void Script::_execute(JSObject*)’:
../src/scripting/script.cc:582:50: error: cannot convert ‘JSObject*’ to ‘JSScript*’ for argument ‘3’ to ‘JSBool JS_ExecuteScript(JSContext*, JSObject*, JSScript*, jsval*)’
make[2]: *** [libmediatomb_a-script.o] Erreur 1

Discussion


Log in to post a comment.