4.6.4.1 Max Errors Option

The -fmax-errors=n option sets the maximum number of errors each compiler application (excluding the Clang front end), as well as the driver, will display before execution is terminated.

By default, up to 20 error messages will be displayed by each application before the application terminates. The option -fmax-errors=10, for example, would ensure the applications terminate after only 10 errors.

See 4.5 Compiler Messages for full details of the messaging system employed by xc8-cc.