SW500008 Microchip Technology, SW500008 Datasheet - Page 342

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
(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.:
(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.:
(286) declarator too complex
This declarator is too complex for the compiler to handle. Examine the declaration and find a way
to simplify it. If the compiler finds it too complex, so will anybody maintaining the code.
(287) can’t have an array of bits or a pointer to bit
It is not legal to have an array of bits, or a pointer to bit variable, e.g.:
(288) only functions may be void
A variable may not be void. Only a function can be void, e.g.:
328
enum { one = 1, two };
int get_element(int array[two][]) /* should be, e.g.: int array[][7] */
{
}
void interrupt(void) /* what is the name of this function? */
{
}
bit barray[10]; /* wrong -- no bit arrays */
bit * bp;
int a;
void b; /* this makes no sense */
return array[1][6];
/* wrong -- no pointers to bit variables */
Error and Warning Messages
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)
(Parser)

Related parts for SW500008