title: How do I get rid of "deprecated" warnings in legacy Cocos2Dx project
body: <p>I have a legacy Cocos2D game project.
  When compiling Android version, I get a lot of warnings:</p>
  
  <pre><code>warning: 'cocos2d::CCString' is deprecated (declared at ...) [-Wdeprecated-declarations]
  </code></pre>
  
  <p>I do not plan to update code, I just want to get rid of these warnings.
  I tried to add <code>-Wdeprecated-declarations</code> and <code>-Wno-deprecated</code> to <code>APP_CPPFLAGS</code> in Application.mk, but warnings are still generated.</p>