29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

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.

Standard C Implementation Definition<br />

B.1.1<br />

Translation<br />

Diagnostic messages produced by the compiler are of the form:<br />

source-file, line-number: severity: error-code: explanation<br />

where severity is one of:<br />

[blank]<br />

Warning<br />

Error<br />

If the severity is blank, this is a remark and indicates common, but<br />

sometimes unconventional, use of C or C++. Remarks are not displayed<br />

by default. Use the --remarks option to display remark messages. See<br />

Controlling the output of diagnostic messages on page 5-4 for more<br />

information. <strong>Compilation</strong> continues.<br />

Flags unusual conditions in your code that might indicate a problem.<br />

<strong>Compilation</strong> continues.<br />

Indicates a problem that causes the compilation to stop. For example,<br />

violations in the syntactic or semantic rules of the C or C++ language.<br />

Internal fault<br />

Indicates an internal problem with the compiler. Contact your supplier<br />

with the information listed in Feedback on page x.<br />

Here:<br />

error-code<br />

Is a number identifying the error type.<br />

explanation Is a text description of the error.<br />

See Chapter 5 Diagnostic Messages in the <strong>Compiler</strong> User <strong>Guide</strong> for more information.<br />

B.1.2<br />

Environment<br />

The mapping of a command line from the <strong>ARM</strong> architecture-based environment into<br />

arguments to main() is implementation-specific. The generic <strong>ARM</strong> C library supports<br />

the following:<br />

• main()<br />

• Interactive device on page B-4<br />

• Redirecting standard input, output, and error streams on page B-4.<br />

main()<br />

The arguments given to main() are the words of the command line not including<br />

input/output redirections, delimited by whitespace, except where the whitespace is<br />

contained in double quotes.<br />

<strong>ARM</strong> DUI 0348A Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. B-3<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!