SW500010 Microchip Technology, SW500010 Datasheet - Page 373

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
Error and Warning Messages
(280) arrays of functions are illegal
You can’t define an array of functions. You can however define an array of pointers to functions,
e.g.:
(281) functions can’t return functions
A function cannot return a function. It can return a function pointer. A function returning a pointer
to a function could be declared like this: int (* (name()))(). Note the many parentheses that are
necessary to make the parts of the declaration bind correctly.
(282) functions can’t return arrays
A function can return only a scalar (simple) type or a structure. It cannot return an array.
(283) dimension required
Only the most significant (i.e. the first) dimension in a multi-dimension array may not be assigned a
value. All succeeding dimensions must be present as a constant expression, e.g.:
(284) invalid dimension
This is an internal compiler error. Contact HI-TECH Software technical support with details.
(285) no identifier in declaration
The identifier is missing in this declaration. This error can also occur where the compiler has been
confused by such things as missing closing braces, e.g.:
int * farray[]();
/ * This should be, e.g.: int arr[][7] * /
int get_element(int arr[2][])
{
}
void interrupt(void)
{
}
return array[1][6];
/ * oops -- should be: int ( * farray[])(); * /
/ * what is the name of this function? * /
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
373

Related parts for SW500010