1>glfm_platform_android.c(113,16): error : declaration of anonymous class must be a definition
1> jclass class = (jni)->GetObjectClass(jni, object);
1> ^
1>glfm_platform_android.c(113,9): warning : declaration does not declare anything [-Wmissing-declarations]
1> jclass class = (jni)->GetObjectClass(jni, object);
1> ^~
1>glfm_platform_android.c(114,36): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> jmethodID methodID = (jni)->GetMethodID(jni, class, name, sig);
1> ~~^~
1> .
1>glfm_platform_android.c(114,55): error : expected expression
1> jmethodID methodID = (jni)->GetMethodID(jni, class, name, sig);
1> ^
1>glfm_platform_android.c(115,15): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> (jni)->DeleteLocalRef(jni, class);
1> ~~^~
1> .
1>glfm_platform_android.c(115,37): error : expected expression
1> (jni)->DeleteLocalRef(jni, class);
1> ^
1>glfm_platform_android.c(116,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> return _glfmWasJavaExceptionThrown() ? NULL : methodID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,12): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~^
1>glfm_platform_android.c(116,16): error : too many arguments to function call, expected 0, have 1
1> return _glfmWasJavaExceptionThrown() ? NULL : methodID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,29): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~~~~~ ^~~
1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(1047,5): note: 'ExceptionCheck' declared here
1> jboolean ExceptionCheck()
1> ^
1>glfm_platform_android.c(116,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> return _glfmWasJavaExceptionThrown() ? NULL : methodID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,43): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~^
1>glfm_platform_android.c(116,16): error : too many arguments to function call, expected 0, have 1
1> return _glfmWasJavaExceptionThrown() ? NULL : methodID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,60): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~~~~~ ^~~
1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(551,5): note: 'ExceptionClear' declared here
1> void ExceptionClear()
1> ^
1>glfm_platform_android.c(124,16): error : declaration of anonymous class must be a definition
1> jclass class = (jni)->GetObjectClass(jni, object);
1> ^
1>glfm_platform_android.c(124,9): warning : declaration does not declare anything [-Wmissing-declarations]
1> jclass class = (jni)->GetObjectClass(jni, object);
1> ^~
1>glfm_platform_android.c(125,34): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> jfieldID fieldID = (jni)->GetFieldID(jni, class, name, sig);
1> ~~^~
1> .
1>glfm_platform_android.c(125,52): error : expected expression
1> jfieldID fieldID = (jni)->GetFieldID(jni, class, name, sig);
1> ^
1>glfm_platform_android.c(126,15): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> (jni)->DeleteLocalRef(jni, class);
1> ~~^~
1> .
1>glfm_platform_android.c(126,37): error : expected expression
1> (jni)->DeleteLocalRef(jni, class);
1> ^
1>glfm_platform_android.c(127,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,12): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~^
1>glfm_platform_android.c(127,16): error : too many arguments to function call, expected 0, have 1
1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,29): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~~~~~ ^~~
1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(1047,5): note: 'ExceptionCheck' declared here
1> jboolean ExceptionCheck()
1> ^
1>glfm_platform_android.c(127,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'?
1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,43): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~^
1>glfm_platform_android.c(127,16): error : too many arguments to function call, expected 0, have 1
1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID;
1> ^~~~~~~~~
1>glfm_platform_android.c(103,60): note: expanded from macro '_glfmWasJavaExceptionThrown'
1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false)
1> ~~~~~~ ^~~
1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(551,5): note: 'ExceptionClear' declared here
1> void ExceptionClear()
1> ^
1>glfm_platform_android.c(133,63): error : declaration of anonymous class must be a definition
1>static jfieldID _glfmGetJavaStaticFieldID(JNIEnv jni, jclass class, const char name,
1>glfm_platform_android.c(113,16): error : declaration of anonymous class must be a definition 1> jclass class = (jni)->GetObjectClass(jni, object); 1> ^ 1>glfm_platform_android.c(113,9): warning : declaration does not declare anything [-Wmissing-declarations] 1> jclass class = (jni)->GetObjectClass(jni, object); 1> ^
~1>glfm_platform_android.c(114,36): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> jmethodID methodID = (jni)->GetMethodID(jni, class, name, sig); 1>~~^~ 1> . 1>glfm_platform_android.c(114,55): error : expected expression 1> jmethodID methodID = (jni)->GetMethodID(jni, class, name, sig); 1> ^ 1>glfm_platform_android.c(115,15): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> (jni)->DeleteLocalRef(jni, class); 1>~~^~ 1> . 1>glfm_platform_android.c(115,37): error : expected expression 1> (jni)->DeleteLocalRef(jni, class); 1> ^ 1>glfm_platform_android.c(116,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> return _glfmWasJavaExceptionThrown() ? NULL : methodID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,12): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~^ 1>glfm_platform_android.c(116,16): error : too many arguments to function call, expected 0, have 1 1> return _glfmWasJavaExceptionThrown() ? NULL : methodID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,29): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~~~~~ ^~~ 1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(1047,5): note: 'ExceptionCheck' declared here 1> jboolean ExceptionCheck() 1> ^ 1>glfm_platform_android.c(116,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> return _glfmWasJavaExceptionThrown() ? NULL : methodID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,43): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~^ 1>glfm_platform_android.c(116,16): error : too many arguments to function call, expected 0, have 1 1> return _glfmWasJavaExceptionThrown() ? NULL : methodID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,60): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~~~~~ ^~~ 1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(551,5): note: 'ExceptionClear' declared here 1> void ExceptionClear() 1> ^ 1>glfm_platform_android.c(124,16): error : declaration of anonymous class must be a definition 1> jclass class = (jni)->GetObjectClass(jni, object); 1> ^ 1>glfm_platform_android.c(124,9): warning : declaration does not declare anything [-Wmissing-declarations] 1> jclass class = (jni)->GetObjectClass(jni, object); 1> ^~1>glfm_platform_android.c(125,34): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> jfieldID fieldID = (jni)->GetFieldID(jni, class, name, sig); 1>~~^~ 1> . 1>glfm_platform_android.c(125,52): error : expected expression 1> jfieldID fieldID = (jni)->GetFieldID(jni, class, name, sig); 1> ^ 1>glfm_platform_android.c(126,15): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> (jni)->DeleteLocalRef(jni, class); 1>~~^~ 1> . 1>glfm_platform_android.c(126,37): error : expected expression 1> (jni)->DeleteLocalRef(jni, class); 1> ^ 1>glfm_platform_android.c(127,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,12): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~^ 1>glfm_platform_android.c(127,16): error : too many arguments to function call, expected 0, have 1 1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,29): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~~~~~ ^~~ 1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(1047,5): note: 'ExceptionCheck' declared here 1> jboolean ExceptionCheck() 1> ^ 1>glfm_platform_android.c(127,16): error : member reference type 'JNIEnv' (aka '_JNIEnv') is not a pointer; did you mean to use '.'? 1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,43): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~^ 1>glfm_platform_android.c(127,16): error : too many arguments to function call, expected 0, have 1 1> return _glfmWasJavaExceptionThrown() ? NULL : fieldID; 1> ^~~~~~~~~ 1>glfm_platform_android.c(103,60): note: expanded from macro '_glfmWasJavaExceptionThrown' 1> ((jni)->ExceptionCheck(jni) ? ((jni)->ExceptionClear(jni), true) : false) 1>~~~~~~ ^~~ 1>C:\Microsoft\AndroidNDK64\android-ndk-r15c\platforms\android-19\arch-x86\usr\include\jni.h(551,5): note: 'ExceptionClear' declared here 1> void ExceptionClear() 1> ^ 1>glfm_platform_android.c(133,63): error : declaration of anonymous class must be a definition 1>static jfieldID _glfmGetJavaStaticFieldID(JNIEnv jni, jclass class, const char name,