原文地址 : http://www.cnblogs.com/hhuang2012/p/3336911.html cocos2dx android版本移植时的Error format not a string literal and no format arguments解决方案 [-Werror=format-security] BUG FIX SOLUTION 场景: cocos2dx 跨平台开发, 移植Android版本时, 当进行到build_native.sh步骤后 ndk版本: and…
原地址: http://blog.csdn.net/joeblackzqq/article/details/25985299 cData.cpp:355:30:error:format not a string literal and no fomat arguments [-Werror=format-security]cData.cpp:387:42:error:format not a string literal and no fomat arguments [-Werror=forma…
You can put this in your Application.mk to disable treating those warnings as errors: APP_CFLAGS += -Wno-error=format-security There are more solutions for the same problem in this thread: http://www.cocos2d-x.org/boards/6/topics/32437?r=33260\#messa…