cannot figure out how to disable one gcc warning