SW500008 Microchip Technology, SW500008 Datasheet - Page 352

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
(348) auto variable * should not be qualified
An auto variable should not have qualifiers such as near or far associated with it. Its storage class
is implicitly defined by the stack organization. An auto variable may be qualified with static, but
it is then no longer auto.
(349) non-prototyped function declaration: *
A function has been declared using old-style (K&R) arguments. It is preferable to use prototype
declarations for all functions, e.g.:
This would be better written:
(350) unused *: * (from line *)
The indicated object was never used in the function or module being compiled. Either this object is
redundant, or the code that was meant to use it was excluded from compilation or misspelt the name
of the object. Note that the symbols rcsid and sccsid are never reported as being unused.
(352) float param coerced to double
Where a non-prototyped function has a parameter declared as float, the compiler converts this into
a double float. This is because the default C type conversion conventions provide that when a
floating point number is passed to a non-prototyped function, it will be converted to double. It is
important that the function declaration be consistent with this convention, e.g.:
338
int process(int a)
{
}
int process(input)
int input;
{
}
int process(int input)
{
}
extern int away; /* this would be better outside the function */
return away + a;
/* warning flagged here */
Error and Warning Messages
(Parser)
(Parser)
(Parser)
(Parser)

Related parts for SW500008