Skip to content

Compiler Option: -maxerr ​


Set maximum number of errors to report before aborting compilation

Syntax ​

-maxerr< value | "inf" >`

`

Parameters ​

value | "inf"

Specifies the maximum number of errors or no maximum if "inf" is given instead of a value.

Description ​

The -maxerr compiler option sets the maximum number of errors the compiler must find before stopping. The default is 10. If inf, for infinite, is specified the compiler continues until it finds the end of the source. Useful if an IDE is parsing the error messages.

-maxerr only applies to compiler errors (therefore excluding compiler warnings, linker/assembler errors and other third party errors).

See also ​

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft