maxerrorcount

Limits the number of error messages emitted while compiling a single file.

Syntax
#pragma maxerrorcount( 
  num  | off )
  
Parameters

num

Specifies the maximum number of error messages issued per source file.

off

Does not limit the number of error messages issued per source file.

Remarks

The total number of error messages emitted may include one final message:

Too many errors emitted

This pragma does not correspond to any panel setting. By default, this pragma is off .

Related information
extended_errorcheck
message
showmessagenumber
show_error_filestack
suppress_warnings
sym
unused
warning
warning_errors
warn_any_ptr_int_conv
warn_emptydecl
warn_extracomma
warn_filenamecaps
warn_filenamecaps_system
warn_hiddenlocals
warn_illpragma
warn_illtokenpasting
warn_illunionmembers
warn_impl_f2i_conv
warn_impl_i2f_conv
warn_impl_s2u_conv
warn_implicitconv
warn_largeargs
warn_missingreturn
warn_no_side_effect
warn_padding
warn_pch_portability
warn_possunwant
warn_ptr_int_conv
warn_resultnotused
warn_undefmacro
warn_uninitializedvar
warn_unusedarg
warn_unusedvar