Datasheet
Standard C Implementation Definition
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. B-3
B.1.1 Translation
Diagnostic messages produced by the compiler are of the form:
source-file, line-number: severity: error-code: explanation
where
severity
is one of:
Warning
This is a helpful message from the compiler relatingto a minor
violation of the ANSI specification.
Error
This is a violation of the ANSI specification but the compiler is
able to recover by guessing the intention.
Serious error
This is a violation of the ANSI specification and no recovery is
possible because the intention is not clear.
Fatal error
This is an indication that the compiler limits have been exceeded,
or that the compiler has detected an internal fault (for example, not
enough memory).
error-code
is a number identifying the error type.
explanation
is a text description of the error.
B.1.2 Environment
The mapping of a command line from the ARM-based environment into arguments to
main()
is implementation-specific. The generic ARM C library supports the following:
• main()
• Interactive device on page B-4
• Standard input, output, and error streams on page B-4.
main()
The arguments given to
main()
are the words of the command line (not including
input/output redirections), delimited by white space, except where the white space is
contained in double quotes.
Note
• A whitespace character is any character where the result of
isspace()
is true.
• A double quote or backslash character \ inside double quotes must be preceded by
a backslash character.
• An input/output redirection will not be recognized inside double quotes.