5

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.

Nick
  • 3,205
  • 9
  • 57
  • 108

1 Answers1

2

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.

FcoRodr
  • 1,583
  • 7
  • 15