This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 26 Jun 2006 22:26:40 -0000
- Subject: [Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.
- References: <bug-28153-12871@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dannysmith at users dot sourceforge dot net 2006-06-26 22:26 -------
(In reply to comment #3)
> I think you may be running into a compiler (MSVC vs GNUC) difference between
> handling of __stdcall (==JNICALL) symbols.
Um, and this should all be taken care of by the #ifdef WIN32 code in
jni.cc:_Jv_LookupJNIMethod
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28153