delete mac c++ warning