“too many errors emitted stopping now” - How to increase or remove the limit?

后端 未结 3 873
悲哀的现实
悲哀的现实 2021-02-07 13:53

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

3条回答
  •  后悔当初
    2021-02-07 14:37

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

    -ferror-limit=0
    

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

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

    Xcode Project-Wide compiler flag

提交回复
热议问题