Use the -wnn option to limit the number of error messages displayed before the compiler aborts. By default, if more than 100 errors are displayed, compilation aborts.
Option | Description |
---|---|
-wnn |
Limit the number of error diagnostics that will be displayed prior to aborting compilation to n . Remarks and warnings do not count towards this limit. |
For example, the following command line specifies that if more than 50 error messages are displayed during the compilation of a.c, compilation aborts.