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

最近搞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

发表评论

电子邮件地址不会被公开。 必填项已用*标注