SW500008 Microchip Technology, SW500008 Datasheet - Page 357
SW500008
Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
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
778-1001
778-1001
- Current page: 357 of 486
- Download datasheet (4Mb)
Error and Warning Messages
(366) operands of * not same pointer type
The operands of this operator are of different pointer types. This probably means you have used
the wrong pointer, but if the code is actually what you intended, use a typecast to suppress the error
message.
(367) function is already "extern"; can’t be "static"
This function was already declared extern, possibly through an implicit declaration. It has now
been redeclared static, but this redeclaration is invalid.
(368) array dimension on *[] ignored
An array dimension on a function parameter has been ignored because the argument is actually
converted to a pointer when passed. Thus arrays of any size may be passed. Either remove the
dimension from the parameter, or define the parameter using pointer syntax, e.g.:
char * get_addr(void)
{
}
void main(void)
{
}
static void set(long a, int b) /* now it finds out otherwise */
{
}
int get_first(int array[10]) /* param should be: “int array[]” or “int *” */
{
}
char c;
return &c; /* returning this is dangerous; the pointer could be dereferenced */
set(10L, 6);
PORTA = a + b;
return array[0];
/* at this point the compiler assumes set is extern... */
/* warning flagged here */
(Preprocessor)
(Parser)
(Parser)
343
Related parts for SW500008
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: