closed #2413: Warning fixes for overload virtual functions.

Also enable the warning of hiding virtual functions for iOS and Mac projects.