Add errorformat for warnings