04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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 indicatescommon, 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 6-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 xii.<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 6 Diagnostic Messages in the Compiler User Guide 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 0348C Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. B-3<br />

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!