SW500009 Microchip Technology, SW500009 Datasheet - Page 31

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
PICC Command-line Driver
reading the error output, but is not generally usable with environments which support compiler error
handling. The following sections indicate how this option may be used in such situations.
holders embedded within a message template. See Section
system employed by PICC.
format of warning and advisory messages, respectively.
2.4.27.1 Using the Format Options
Using the these option instructs the compiler to generate error, warning and advisory messages in a
format which is acceptable to some text editors and development environments.
option, the error output would be:
indicating that the error number 192 occurred in file x.c at line 4, offset 9 characters into the state-
ment. The second numeric value - the column number - is relative to the left-most non-space charac-
ter on the source line. If an extra space or tab character were inserted at the start of the source line,
the compiler would still report an error at line 4, column 9.
2.4.27.2 Modifying the Standard Format
If the message format does not meet your editor’s requirement, you can redefine its format by either
using the --ERRFORMAT=format, --WARNFORMAT=format or --MSGFORMAT=format option or
by setting the environment variables: HTC_ERR_FORMAT, HTC_WARN_FORMAT or HTC_MSG_FORMAT.
These options are in the form of a printf-style string in which you can use the specifiers shown in
Table 2.5. For example:
This option allows the exact format of printed error messages to be specified using special place-
This section is also applicable to the --WARNFORMAT and --MSGFORMAT options which adjust the
If the same source code as used in the example above were compiled using the --ERRFORMAT
x.c 4: (192) undefined identifier: xFF
Table 2.5: Error format specifiers
Specifier
%f
%l
%c
%s
%a
%n
Filename
Line number
Column number
Error string
Application name
Message number
Expands To
2.4.27.1
for full details of the messaging
PICC Compiler Options
17

Related parts for SW500009