29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Compiler</strong> Diagnostic Messages<br />

6.5 <strong>Compiler</strong> exit status codes and termination messages<br />

If <strong>the</strong> compiler detects any warnings or errors during compilation, <strong>the</strong> compiler writes <strong>the</strong><br />

messages to stderr. At <strong>the</strong> end of <strong>the</strong> messages, a summary message is displayed that gives <strong>the</strong><br />

total number of each type of message of <strong>the</strong> <strong>for</strong>m:<br />

filename: n warnings, n errors<br />

where n indicates <strong>the</strong> number of warnings or errors detected.<br />

Note<br />

Remarks are not displayed by default. To display remarks, use <strong>the</strong> --remarks compiler option.<br />

No summary message is displayed if only remark messages are generated.<br />

The signals SIGINT (caused by a user interrupt, like ^C) and SIGTERM (caused by a UNIX<br />

kill command) are trapped by <strong>the</strong> compiler and cause abnormal termination.<br />

On completion, <strong>the</strong> compiler returns a value greater than zero if an error is detected. If no error<br />

is detected, a value of zero is returned.<br />

6.5.1 See also<br />

Concepts<br />

• <strong>Compiler</strong> diagnostics on page 6-2<br />

• Severity of compiler diagnostic messages on page 6-3.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 6-6<br />

ID061811<br />

Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!