Quote from: Joseph DiPerla on Sun 09/02/2014 14:16:42
Still seems to persist. No rush to fix this though, I am just trying to create a Android packaging tool for AGS and am trying to see if I could compile the latest version. The error seems similar though:Quotejni/../jni/../../../Engine/platform/android/acpland.cpp: In function 'void selec
tLatestSavegame()':
jni/../jni/../../../Engine/platform/android/acpland.cpp:542:37: warning: compari
son between signed and unsigned integer expressions [-Wsign-compare]
jni/../jni/../../../Engine/platform/android/acpland.cpp: In function '_jstring*
Java_com_bigbluecup_android_PreferencesActivity_readStringConfigValue(JNIEnv*, j
object, jint, jstring)':
jni/../jni/../../../Engine/platform/android/acpland.cpp:302:1: warning: control
reaches end of non-void function [-Wreturn-type]
"Compile arm : agsengine <= libc.c
jni/../jni/../../../Engine/platform/util/libc.c:22:8: error: conflicting types f
or 'malloc_usable_size'
compilation terminated due to -Wfatal-errors.
make: *** [obj/local/armeabi/objs/agsengine/platform/util/libc.o] Error 1
What version of the NDK are you using? The declaration of malloc_usable_size changed with NDK r9 and I adapted the source here accordingly: https://github.com/adventuregamestudio/ags/commit/fe3d87c86b830c5e6d7b7e990de5ec5ef68483e7#diff-84cd350904395d756aa62ee013e17353L22