mitigating compiler errors