Microchip Technology SW006023-1N Data Sheet

Page of 238
MPLAB
®
 XC32 C/C++ Compiler User’s Guide
DS51686E-page 192
 2012 Microchip Technology Inc.
18.4
TRANSLATION
18.5
ENVIRONMENT
ISO Standard:
“How a diagnostic is identified (3.10, 5.1.1.3).”
Implementation:
All output to 
stderr
 is a diagnostic.
ISO Standard:
“Whether each nonempty sequence of white-space characters other 
than new-line is retained or replaced by one space character in transla-
tion phase 3 (5.1.1.2).”
Implementation:
Each sequence of whitespace is replaced by a single character.
ISO Standard:
“The name and type of the function called at program start-up in a free-
standing environment (5.1.2.1).”
Implementation:
int main
 (
void
);
ISO Standard:
“The effect of program termination in a freestanding environment 
(5.1.2.1).”
Implementation:
An infinite loop (branch to self) instruction will be executed.
ISO Standard:
“An alternative manner in which the main function may be defined 
(5.1.2.2.1).”
Implementation:
int main
 (void);
ISO Standard:
“The values given to the strings pointed to by the 
argv
 
argument to 
main 
(5.1.2.2.1).”
Implementation:
No arguments are passed to 
main
. Reference to 
argc
 or 
argv
 is 
undefined.
ISO Standard:
“What constitutes an interactive device (5.1.2.3).”
Implementation:
Application defined.
ISO Standard:
“Signals for which the equivalent of 
signal(sig
SIG_IGN
); 
is 
executed at program start-up (7.14.1.1).”
Implementation:
Signals are application defined.
ISO Standard:
“The form of the status returned to the host environment to indicate 
unsuccessful termination when the SIGABRT signal is raised and not 
caught (7.20.4.1).”
Implementation:
The host environment is application defined.
ISO Standard:
“The forms of the status returned to the host environment by the exit 
function to report successful and unsuccessful termination (7.20.4.3).”
Implementation:
The host environment is application defined.
ISO Standard:
“The status returned to the host environment by the exit function if 
the value of its argument is other than zero, EXIT_SUCCESS, or 
EXIT_FAILURE 
(7.20.4.3).”
Implementation:
The host environment is application defined.
ISO Standard:
“The set of environment names and the method for altering the environ-
ment list used by the 
getenv
 
function (7.20.4.4).”
Implementation:
The host environment is application defined.
ISO Standard:
“The manner of execution of the string by the system function 
(7.20.4.5).”
Implementation:
The host environment is application defined.