Xcode 7 upgrade producing overrides a member function but is not marked override

Can someone please help I’m getting this overrides a member function but is not marked override after installing Xcode 7 I’m working on a project which uses Cocos2d-x 3.4 framework. Can I update framework by replacing cocos2d with new (3.8) cocos2d header files

Just add override after your function declaration.
Like this.

virtual bool init() override;

You can refer to this post:

Just add the flag “-Wsuggest-override” to “Other Linker Flags”.