default c++ compiler, remove deprecated functions