change compiler flags to ingore set but not used warning/error in gcc