I have a legacy Cocos2D game project. When compiling the Android version, I get a lot of warnings:
warning: 'cocos2d::CCString' is deprecated (declared at ...) [-Wdeprecated-declarations]
I do not plan to update the code, I just want to get rid of these warnings. I tried adding -Wdeprecated-declarations and -Wno-deprecated to APP_CPPFLAGS in Application.mk, but warnings are still generated.
source share