SW500010 Microchip Technology, SW500010 Datasheet - Page 366

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
(248) inappropriate "else"
An else keyword has been encountered that cannot be associated with an if statement. This may
mean there is a missing brace or other syntactic error, e.g.:
(249) probable missing "}" in previous block
The compiler has encountered what looks like a function or other declaration, but the preceding
function has not been ended with a closing brace. This probably means that a closing brace has been
omitted from somewhere in the previous function, although it may well not be the last one, e.g.:
(251) array dimension redeclared
An array dimension has been declared as a different non-zero value from its previous declaration. It
is acceptable to redeclare the size of an array that was previously declared with a zero dimension,
but not otherwise, e.g.:
(252) argument * conflicts with prototype
The argument specified (argument 0 is the left most argument) of this function definition does not
agree with a previous prototype for this function, e.g.:
366
/ * here is a comment which I have forgotten to close...
if(a > b) {
/ * ... that will be closed here, thus removing the “if” * /
else
void set(char a)
{
void clear(void)
{
}
extern int array[5];
int array[10];
c = 0;
c = 0xff;
PORTA = a;
PORTA = 0;
/ * my “if” has been lost * /
/ * the closing brace was left out here * /
/ * error flagged here * /
/ * oops -- has it 5 or 10 elements? * /
Error and Warning Messages
(Parser)
(Parser)
(Parser)
(Parser)

Related parts for SW500010