【发布时间】:2018-03-12 22:53:17
【问题描述】:
我有一个遗留的 Cocos2D 游戏项目。 编译Android版本时,我收到很多警告:
warning: 'cocos2d::CCString' is deprecated (declared at ...) [-Wdeprecated-declarations]
我不打算更新代码,我只是想摆脱这些警告。
我尝试在Application.mk中将-Wdeprecated-declarations和-Wno-deprecated添加到APP_CPPFLAGS,但仍然会产生警告。
【问题讨论】:
标签: android android-ndk cocos2d-x ndk-build