I have a legacy Cocos2D game project. When compiling Android version, I get a lot of warnings:
warning: 'cocos2d::CCString' is deprecated (declared at ...) [-Wdeprecated-declarations]
I do not plan to update code, I just want to get rid of these warnings.
I tried to add -Wdeprecated-declarations
and -Wno-deprecated
to APP_CPPFLAGS
in Application.mk, but warnings are still generated.
I know it's not a final answer, but I found this.
Maybe if you find what's the code of deprecation warnings you can make an use of it.
I hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With