g++ compatibility