Keil Logo

ERRORLEVEL

After compilation, the number of errors and warnings detected is output to the screen. The C251 Compiler then sets the ERRORLEVEL to indicate the status of the compilation. Values are listed in the following table:

ERRORLEVEL Description
0 No Errors or Warnings
1 Warnings Only
2 Errors and Possibly Warnings
3 Fatal Errors

You can access the ERRORLEVEL in batch files. Refer to the Windows command reference or to batch commands in the Windows on-line help for more information on ERRORLEVEL or batch files.

Related Knowledgebase Articles

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.