How to increase error limit in Visual Studio?

前端 未结 5 1890
再見小時候
再見小時候 2020-12-06 15:58

When building an application in Visual Studio. It shows the following error when exceeding the error count

    fatal error C1003: error count exceeds 100; sto         


        
5条回答
  •  忘掉有多难
    2020-12-06 16:37

    I believe that it is a hard-coded limit, so no.

    As others have commented, it's difficult to understand what you want to achieve by this.

    At the end of the day, you'll have to fix them all, so get stuck in and start fixing them. Eventually, you'll get below 100, and you can start counting them.

    It is not normally valuable to report the actual number of errors when this occurs. Most of the time, when you get C1003, it's actually only a few real errors, leading to a massive chain of other errors.

    (e.g.)

    • If there is an error in a .h file, that error will be reported in every .cpp file that #includes it.
    • If there is an error that prevents any kind of identifier being defined (e.g. a class, variable, method name), then every time you try to use it later on, an error will be reported.

提交回复
热议问题