Ignore safe compiler warnings in a more reliable way.