It worked:-)
Thank you very much!
Message
From: dev-builds-bounces (AT) lists (DOT) mozilla.org [mailto:dev-builds-bounces (AT) lists (DOT) mozilla.org] Behalf Benjamin Smedberg
Sent: 21:53
To: dev-builds (AT) lists (DOT) mozilla.org
Subject: Re: no matching funciion for call to problem --
Fu, Elva wrote:
Hi all,
When I build for xulrunner (), errors as following:
In member function ?nsresult NativeToJavaProxyMap::Remove(JNIEnv*, nsISupports*, const nsIID&):
error: no matching function for call to ?(__j object* const&)
/ note: candidates are: void (__jweak*) <near match>
Somebody else reported a bug like this: apparently some versions of the JNI
headers (the ones that come with GCC, I believe) don't "typedef jobject
jweak;" like the original Sun headers do. I believe if you use the Sun JDK
headers this will work.
dev-builds mailing list
dev-builds (AT) lists (DOT) mozilla.org
dev-builds mailing list
dev-builds (AT) lists (DOT) mozilla.org