On Thu, Sep 06, 2007 at 08:24:11PM +0800, Edward L. Fox wrote:
> Package: libmozjs-dev
> Version: 1.8.1.4-2
 
> I just noticed that you (or your partners) compiled libmozjs0d with
> -DMOZILLA_1_8_BRANCH defined. But in the pkg-config file provided by
> libmozjs-dev, you didn't contain that macro. So all my program failed
> if I simply trusted the output of pkg-config.

Hi,

the -DMOZILLA_1_8_BRANCH thing hit libjavascript-perl 1.04-1 too. We got
test failures on 32-bit architectures (#451774), presumably because of
the ABI difference in the JSFunctionSpec struct in <mozjs/jsapi.h>.

Would it make sense for the libmozjs-dev headers to #define
MOZILLA_1_8_BRANCH by default to get the ABI corresponding to libmozjs0d?

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to