编译cocos2d-x-3.0项目的android版时,有几个warning消除不了

我有一点小洁癖,在将cocos2d-x-3.0的项目编译ios版,android版时,会有几个小warning,我都想办法消除掉了.
但编译libcocos2dcpp.so时,有几个小warning消除不了.大家能讨论一下么?
主要是deprecated这个修饰符造成的:

In file included from D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/cocos2d.h:88:0,
from D:/test/proj.android/…/cocos2d/cocos/audio/android/ccdandroidUtils.cpp:26:
D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:77:77: warning: ‘LabelTTF’ is deprecated (declared at D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:59) -Wdeprecated-declarations]
TextVAlignment vAlignment = TextVAlignment::TOP);
^
D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:81:105: warning: ‘LabelTTF’ is deprecated (declared at D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:59) -Wdeprecated-declarations]
static LabelTTF * createWithFontDefinition(const std::string& string, FontDefinition &textDefinition);
^
D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:116:30: warning: ‘LabelTTF’ is deprecated (declared at D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelTTF.h:59) -Wdeprecated-declarations]
static LabelTTF * create();
^
In file included from D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/cocos2d.h:89:0,
from D:/test/proj.android/…/cocos2d/cocos/audio/android/ccdandroidUtils.cpp:26:
D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelBMFont.h:88:188: warning: ‘LabelBMFont’ is deprecated (declared at D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelBMFont.h:74) -Wdeprecated-declarations]
static LabelBMFont * create(const std::string& str, const std::string& fntFile, float width = 0, TextHAlignment alignment = TextHAlignment::LEFT,const Point& imageOffset = Point::ZERO);
^
D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelBMFont.h:92:33: warning: ‘LabelBMFont’ is deprecated (declared at D:/test/proj.android/…/cocos2d/cocos/audio/android/…/…/2d/CCLabelBMFont.h:74) -Wdeprecated-declarations]
static LabelBMFont * create();

attribute((deprecated))修饰类和修饰成员函数有什么规则么?
其中Label,LabelTTF,LabelBMFont 这3个类相关的接口大约如下,我觉得大概跟修饰create有关…

#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
#define CC_DEPRECATED_ATTRIBUTE __attribute__((deprecated))
#elif _MSC_VER >= 1400 //vs 2005 or higher
#define CC_DEPRECATED_ATTRIBUTE __declspec(deprecated)
#else
#define CC_DEPRECATED_ATTRIBUTE
#endif

class CC_DLL Label : public SpriteBatchNode, public LabelProtocol
{
public:
    static Label* create();

    /** Creates a label with an initial string,font,font size, dimension in points, horizontal alignment and vertical alignment.
     * @warning It will generate texture by the platform-dependent code
     */
    static Label* createWithSystemFont(const std::string& text, const std::string& font, float fontSize,
        const Size& dimensions = Size::ZERO, TextHAlignment hAlignment = TextHAlignment::LEFT,
        TextVAlignment vAlignment = TextVAlignment::TOP);

    /** Creates a label with an initial string,font file,font size, dimension in points, horizontal alignment and vertical alignment.
     * @warning Not support font name.
     */
    static Label * createWithTTF(const std::string& text, const std::string& fontFile, float fontSize,
        const Size& dimensions = Size::ZERO, TextHAlignment hAlignment = TextHAlignment::LEFT,
        TextVAlignment vAlignment = TextVAlignment::TOP);

    /** Create a label with TTF configuration
     * @warning Not support font name.
     */
    static Label* createWithTTF(const TTFConfig& ttfConfig, const std::string& text, TextHAlignment alignment = TextHAlignment::LEFT, int maxLineWidth = 0);
    
    /* Creates a label with an FNT file,an initial string,horizontal alignment,max line width and the offset of image*/
    static Label* createWithBMFont(const std::string& bmfontFilePath, const std::string& text,
        const TextHAlignment& alignment = TextHAlignment::LEFT, int maxLineWidth = 0, 
        const Point& imageOffset = Point::ZERO);
    
    static Label * createWithCharMap(const std::string& charMapFile, int itemWidth, int itemHeight, int startCharMap);
    static Label * createWithCharMap(Texture2D* texture, int itemWidth, int itemHeight, int startCharMap);
    static Label * createWithCharMap(const std::string& plistFile);
   
    CC_DEPRECATED_ATTRIBUTE static Label* create(const std::string& text, const std::string& font, float fontSize,
        const Size& dimensions = Size::ZERO, TextHAlignment hAlignment = TextHAlignment::LEFT,
        TextVAlignment vAlignment = TextVAlignment::TOP);

    CC_DEPRECATED_ATTRIBUTE virtual void setFontDefinition(const FontDefinition& textDefinition);
    CC_DEPRECATED_ATTRIBUTE const FontDefinition& getFontDefinition() const { return _fontDefinition; }
};


class CC_DLL CC_DEPRECATED_ATTRIBUTE LabelTTF : public Node, public LabelProtocol, public BlendProtocol
{
public:
    /** creates a Label from a fontname, alignment, dimension in points and font size in points
     @since v2.0.1
     */
    static LabelTTF * create(const std::string& string, const std::string& fontName, float fontSize,
                             const Size& dimensions = Size::ZERO, TextHAlignment hAlignment = TextHAlignment::CENTER,
                             TextVAlignment vAlignment = TextVAlignment::TOP);
    
    
    /** Create a lable with string and a font definition*/
    static LabelTTF * createWithFontDefinition(const std::string& string, FontDefinition &textDefinition);
   
    /** Creates an label.
     */
    static LabelTTF * create();
};


class CC_DLL CC_DEPRECATED_ATTRIBUTE LabelBMFont : public Node, public LabelProtocol, public BlendProtocol
{
public:
    /** creates a bitmap font atlas with an initial string and the FNT file */
    static LabelBMFont * create(const std::string& str, const std::string& fntFile, float width = 0, TextHAlignment alignment = TextHAlignment::LEFT,const Point& imageOffset = Point::ZERO);

    /** Creates an label.
     */
    static LabelBMFont * create();
};

```


这个CC_DEPRECATED_ATTRIBUTE一会修饰类,一会又不修饰;
一会修饰create函数,一会又不修饰;
是不是造成它的原因?