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.cpp, compilation aborts.
IA-32 systems: prompt>icc -wn50 -c a.cpp
Itanium(TM)-based systems: prompt>ecc -wn50 -c a.cpp