Specifies the maximum number of error-level or fatal-level compiler errors allowed for a file specified on the command line.
Windows: Compilation Diagnostics >
Error Limit
Linux: None
Mac OS X: Compiler Diagnostics >
Error Limit
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS X: | -error-limit n -noerror-limit |
Windows: | /error-limit:n /noerror-limit |
n | Is the maximum number of error-level or fatal-level compiler errors allowed. |
30 | A maximum of 30 error-level and fatal-level messages are allowed before the compiler stops the compilation. |
This option specifies the maximum number of error-level or fatal-level compiler errors allowed for a file specified on the command line.
If you specify noerror-limit on the command line, there is no limit on the number of errors that are allowed.
If the maximum number of errors is reached, a warning message is issued and the next file (if any) on the command line is compiled.
None