Open ahcox opened 7 years ago
Steps to Reproduce:
The code has many functions with unused parameters such as these in https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/ui/UIEditBox/UIEditBoxImpl-common.h:
virtual void setAnchorPoint(const Vec2& anchorPoint) override {} virtual void setPosition(const Vec2& pos) override {}
They yield a noisy build full of warnings.
Some example build output:
cocos2d/cocos/base/CCScriptSupport.h:804:41: warning: unused parameter 'obj' [-Wunused-parameter] virtual void removeObjectProxy(Ref* obj) {} cocos2d/cocos/audio/apple/AudioEngine-inl.mm:636:36: warning: unused parameter 'dt' [-Wunused-parameter] void AudioEngineImpl::update(float dt) ...
we are continue fixing it
Steps to Reproduce:
The code has many functions with unused parameters such as these in https://github.com/cocos2d/cocos2d-x/blob/v3/cocos/ui/UIEditBox/UIEditBoxImpl-common.h:
They yield a noisy build full of warnings.
Some example build output: