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

陌路散爱 提交于 2019-12-03 06:22:33
Erik B

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

Maybe this:

Preferences > General > Continue Building After Errors

https://developer.apple.com/library/ios/recipes/xcode_help-general_preferences/Recipe.html

Here is the complete syntax to compile and pass the flags to the make command

make install CFLAGS="-ferror-limit=0"

Also as outlined here: https://developer.apple.com/library/content/documentation/Porting/Conceptual/PortingUnix/compiling/compiling.html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!