SW500010 Microchip Technology, SW500010 Datasheet - Page 37

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
PICC Command-line Driver
2.5 Compiler Messages
All compiler applications, including the command-line driver, PICC, use textual messages to report
feedback during the compilation process. A centralized messaging system is used to produce the
messages which allows a consistancy during all stages of the compilation process.
2.5.1 Messaging Overview
A message is referenced by a unique number which is passed to the alert system by the compiler
application that needs to convey the information. The message string corresponding to this number
is obtained from Message Description Files (MDF) which are stored in the DAT directory of the
compiler distribution.
which corresponds to the currently selected language. The language of messages can be altered as
discussed in Section 2.5.2.
message. There are several different message types which are described in Section 2.5.3. The default
type is stored in the MDF, however this can be overridden by the user, as described in Section 2.5.3.
The user is also able to set a threshold for warning message importance, so that only those which the
user considers significant will be displayed. In addition, messages with a particular number can be
disabled. Both of these methods are explained in Section 2.5.5.1.
threshold, the message string will be displayed.
be displayed, such as the message number, the name of the file for which the message is applicable,
the file’s line number and the application that requested the message, etc.
errors has been reached, compilation of the current module will cease. The default number of errors
that will cause this termination can be adjusted by using the --ERRORS option, see Section 2.6.29.
This counter is reset after each compilation step of each module, thus specifying a maximum of five
errors will allow up to five errors from the parser, five from the code generator, five from the linker,
five from the driver, etc.
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:
where * indicates the message number that was generated, will be printed, otherwise the message in
the requested language will be displayed.
When a message is requested by a compiler application, its number is looked up in the MDF
Once found, the alert system determines the message type that should be used to display the
Provided the message is enabled and it is not a warning messages that is below the warning
In addition to the actual message string, there are several other pieces of information that may
If a message is being displayed as an error, a counter is incremented. After a certain number of
If a language other than English is selected, and the message cannot be found in the appropriate
error/warning ( * ) generated, but no description available
Compiler Messages
37

Related parts for SW500010