4.26 Errorlevel Directive

The MPASM ERRORLEVEL directive controls which assembler messages are printed.

Suggested Replacement

The -w driver option can be used to suppress all warning messages produced by the assembler. Consider also the -mwarn option, which can restrict warnings to the specified level of severity.