Fix warning on all c++ files