“现在停止发出太多错误” - 如何增加或删除限制? [英] "too many errors emitted stopping now" - How to increase or remove the limit?

查看:178
本文介绍了“现在停止发出太多错误” - 如何增加或删除限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我做一些重构,这真的很烦,我不会得到所有的错误前面。如何增加限制或删除限制,以便编译器将输出所有可以找到的错误?

So I'm doing some refactoring and it's really annoying that I don't get all the errors up front. How can I either increase the limit or remove the limit, so that the compiler will output all the errors it can find?

推荐答案

所以我发现如何做到。您添加此编译器标志:

So I found how to do it. You add this compiler flag:

-ferror-limit=0

0表示由于错误太多而不会停止。

0 means that it will not stop because of too many errors.

这似乎是一个问题,解释如何在Xcode 4中添加一个编译器标志:

This seems to be a question and answer that explains how to add a compiler flag in Xcode 4:

Xcode项目范围编译器标志

这篇关于“现在停止发出太多错误” - 如何增加或删除限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆