Retain warnings as errors but suppress unsupported warnings.