SW500010 Microchip Technology, SW500010 Datasheet - Page 113

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
C Language Features
The warning error/warning pragma It is also possible to change the type of some messages.
This is only possible by the use of the warning pragma and only affects messages generated by
the parser or code generator. The position of the pragma is only significant for the parser, i.e. a
parser message number may have its type changed, then reverted back around a section of the code
to target specific instances of the message. Specific instances of a message produced by the code
generator cannot be individually controlled. The pragma will remain in force during compilation of
the entire module.
3.12 Linking Programs
The compiler will automatically invoke the linker unless requested to stop after producing assembler
code (PICC -S option) or object code (PICC -C option).
the messaging system is retrieved by the use of the warning pop pragma.
T
The following shows the warning produced in the previous example being converted to
an error for the instance in the function main().
void main(void)
{
#pragma warning error 348
near int c;
#pragma warning warning 348
/ * etc * /
}
int rv(int a)
{
near int c;
/ * etc * /
}
Compilation of this code would result in an error, and as with any error, this will force
compilation to cease after the current module has concluded, or the maximum error
count has been reached.
UT RIAL
Linking Programs
113

Related parts for SW500010