今天使用cocos2dx的native_build.sh
编译出错:
CCCommon.cpp:44:72: error: format not a string literal and no format arguments [-Werror=format-security]
解决办法:
jni/application.mk
APP_CFLAGS += -Wno-error=format-security
编译出错:
CCCommon.cpp:44:72: error: format not a string literal and no format arguments [-Werror=format-security]
解决办法:
jni/application.mk
APP_CFLAGS += -Wno-error=format-security