g++ compability