SW500010 Microchip Technology, SW500010 Datasheet - Page 390

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
(367) identifier 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.:
(369) signed bitfields not supported
Only unsigned bitfields are supported. If a bitfield is declared to be type int, the compiler still
treats it as unsigned, e.g.:
(370) illegal basic type; int assumed
The basic type of a cast to a qualified basic type couldn’t not be recognised and the basic type was
assumed to be int, e.g.:
390
void main(void)
{
}
/ * now it finds out otherwise * /
static void set(long a, int b)
{
}
/ * param should be: “int array[]” or “int * ” * /
int get_first(int array[10])
{
}
struct {
} ;
/ * at this point the compiler assumes set is extern... * /
set(10L, 6);
PORTA = a + b;
return array[0];
signed int sign: 1;
signed int value: 15;
/ * this must be unsigned * /
/ * warning flagged here * /
Error and Warning Messages
(Preprocessor)
(Parser)
(Parser)
(Parser)

Related parts for SW500010