Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual

Product codes
SW006021-1
Page of 518
XC8 Command-line Driver
 2012 Microchip Technology Inc.
DS52053B-page 87
4.6.2
Message Language
xc8
 supports more than one language for displayed messages. There is one MDF for 
each language supported.
Under Windows, the default language can be specified when installing the compiler.
The default language may be changed on the command line using the --LANG option, 
seSection 4.8.35 “--LANG: Specify the Language for Messages”. Alternatively, it 
may be changed permanently by using the --LANG option together with the --SETUP 
option which will store the default language in either the registry, under Windows, or in 
the XML configuration file on other systems. On subsequent builds, the default 
language used will be that specified.
Table 4-3 shows the MDF applicable for the currently supported languages.
If a language other than English is selected, and the message cannot be found in the 
appropriate non-English MDF, the alert system tries to find the message in the English 
MDF. If an English message string is not present, a message similar to:
error/warning (*) generated, but no description available
where * indicates the message number that was generated that will be printed; 
otherwise, the message in the requested language will be displayed.
4.6.3
Message Type
There are four types of messages. These are described below along with the com-
piler’s behavior when encountering a message of each type.
Advisory Messages convey information regarding a situation the compiler has en-
countered or some action the compiler is about to take. The information is
being displayed “for your interest” and typically requires no action to be
taken. Compilation will continue as normal after such a message is issued.
Warning Messages indicate source code or some other situation that can be com-
piled, but is unusual and may lead to a runtime failure of the code. The code
or situation that triggered the warning should be investigated; however, com-
pilation of the current module will continue, as will compilation of any
remaining modules.
Error Messages indicate source code that is illegal or that compilation of this code
cannot take place. Compilation will be attempted for the remaining source
code in the current module, but no additional modules will be compiled and
the compilation process will then conclude.
Fatal Error Messages indicate a situation that cannot allow compilation to proceed
and which requires the compilation process to stop immediately.
TABLE 4-3:
SUPPORTED LANGUAGES
Language
 MDF name
English
 en_msgs.txt
German
 de_msgs.txt
French
 fr_msgs.txt