Re: How to create multiple contexts in different threads?

Boris Zbarsky <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <[email protected]>
On 3/30/16 7:43 AM, Clément Vuchener wrote:
> For my application, I am using cmake 3.x with the pkg-config module.
> $ PKG_CONFIG_PATH=$HOME/opt/mozjs-38.2.1.rc0-debug/lib/pkgconfig/ pkg-config --cflags --libs js
> -include /home/clement/opt/mozjs-38.2.1.rc0-debug/include/mozjs-/js/RequiredDefines.h -I/home/clement/opt/mozjs-38.2.1.rc0-debug/include/mozjs- -I/usr/include/nspr4 -L/home/clement/opt/mozjs-38.2.1.rc0-debug/lib -lmozjs-

Is DEBUG #defined when compiling your application?  It's defined when 
compiling SpiderMonkey (you passed --enable-debug) and it's very 
important that the DEBUG state of your application and SpiderMonkey 
match, because there are things in the SpiderMonkey headers that are 
#ifdef DEBUG.

-Boris
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.