[Voiceglue] Build Problems
Doug Campbell
voiceglue at campbellcastle.com
Mon Jul 26 00:58:54 UTC 2010
> /usr/include/xulrunner-sdk-1.9.2/jsapi.h:2348: error: too many
> arguments to function âJSBool (* JS_SetOperationCallback(JSContext*,
> JSBool (*)(JSContext*)))(JSContext*)â
This particular function in this particular library (Mozilla SpiderMonkey,
javascript library) has been the biggest headache of all in porting
voiceglue to various platforms.
>>> BEGIN RANT
How in the world can you make different signatures for a function without
providing a compile-time flag that determines it? This makes it impossible
to have multi-platform or multi-version compilation.
<<< END RANT
Anyway, look at the setting of JSUSESETOPERATIONCALLBACK in
doc/install-voiceglue. Looks like you will probably have to
force it to the value "3".
Doug Campbell
More information about the Voiceglue
mailing list