Microchip Technology SW006022-2N Data Sheet

Page of 338
MPLAB
®
 XC16 C Compiler User’s Guide
DS52071B-page 212
 2012 Microchip Technology Inc.
A.2
TRANSLATION
Implementation-Defined Behavior for Translation is covered in section G.3.1 of the 
ANSI C Standard.
Is each non-empty sequence of white-space characters, other than new line, retained 
or is it replaced by one space character? (ISO 5.1.1.2) 
It is replaced by one space character.
How is a diagnostic message identified? (ISO 5.1.1.3)
Diagnostic messages are identified by prefixing them with the source file name and line 
number corresponding to the message, separated by colon characters (‘:’).
Are there different classes of message? (ISO 5.1.1.3)
Yes.
If yes, what are they? (ISO 5.1.1.3)
Errors, which inhibit production of an output file, and warnings, which do not inhibit 
production of an output file.
What is the translator return status code for each class of message? (ISO 5.1.1.3)
The return status code for errors is 1; for warnings it is 0.
Can a level of diagnostic be controlled? (ISO 5.1.1.3)
Yes.
If yes, what form does the control take? (ISO 5.1.1.3)
Compiler command line options may be used to request or inhibit the generation of 
warning messages.
A.3
ENVIRONMENT
Implementation-Defined Behavior for Environment is covered in section G.3.2 of the 
ANSI C Standard.
What library facilities are available to a freestanding program? (ISO 5.1.2.1)
All of the facilities of the standard C library are available, provided that a small set of 
functions is customized for the environment, as described in the “Run Time Libraries” 
section.
Describe program termination in a freestanding environment. (ISO 5.1.2.1)
If the function main returns or the function exit is called, a HALT instruction is executed 
in an infinite loop. This behavior is customizable.
Describe the arguments (parameters) passed to the function main? (ISO 5.1.2.2.1)
No parameters are passed to main.
Which of the following is a valid interactive device: (ISO 5.1.2.3)
Asynchronous terminal No
Paired display and keyboard No
Inter program connection No
Other, please describe? None