[Bug java/28153] Under Windows Xp the generated JNI headers need to have a '_' prepended for each function.
bcmpinc at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jul 6 12:37:00 GMT 2006
------- Comment #7 from bcmpinc at hotmail dot com 2006-07-06 12:37 -------
extern JNIEXPORT void JNICALL Java_JavaSide_sayHello (JNIEnv *env, jobject);
After preprossesing this becomes:
__attribute__((dllexport)) void __attribute__((__stdcall__))
Java_sample_myNative
(JNIEnv *, jobject, jstring);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28153
More information about the Java-prs
mailing list