NDK note: the mangling of 'va_list' has changed in GCC 4.4

November 2012 · 1 minute read

最近搞NDK,一切还算顺利,只是每次ndk-build都会提示:

In file included from jni/fskmodule.cpp:7:0:

/xxxx/usr/include/jni.h:592:13: note: the mangling of 'va_list' has changed in GCC 4.4 > >

解决办法,修改 Android.mk,加一行:

LOCAL_CFLAGS = -Wno-psabi > >