I am trying to setup an environment under Win NT where I can experiment with C++/JNI programs. When I try to compile the sample C++ program available at http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ with g++ I get a long list of errors caused by the jni.h file. I made the recommended changes to the jlong typedef as described at the site referenced above but when I compile the sample program I get the following error everywhere JNICALL is used: jdk1.2.2/include/jni.h:200: parse error before `*' I looked at jni.h and line 200 is: jint (JNICALL *GetVersion)(JNIEnv *env); JNICALL is defined as #define JNICALL __stdcall. I tried compiling the application under JDK1.2 and JDK1.3 but I still get the same error. Any suggestion on what I may be missing??? Thanks John -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
