The warnings are showing up because of deprecated/unmaintained modules in the game engine code, and a lot of the Cocos 2dx code is not in compliance with C++ best practices and standards.
However, you are free to modify the code of the game engine as per your use case (while adhering to the licenses).