g++ safe