SW500007 Microchip Technology, SW500007 Datasheet - Page 350

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
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
015P
778-1002
778-1002
(337) line does not have a newline on the end
The last line in the file is missing the newline (operating system dependent character) from the end.
Some editors will create such files, which can cause problems for include files. The ANSI C standard
requires all source files to consist of complete lines only.
(338) can’t create * file "*"
The application tried to create the named file, but it could not be created. Check that all file path-
names are correct.
(338) can’t create * file "*"
The compiler was unable to create a temporary file. Check the DOS Environment variable TEMP
(and TMP) and verify it points to a directory that exists, and that there is space available on that
drive. For example, AUTOEXEC.BAT should have something like:
where the directory C:\TEMP exists.
(339) initializer in "extern" declaration
A declaration containing the keyword extern has an initialiser. This overrides the extern storage
class, since to initialise an object it is necessary to define (i.e. allocate storage for ) it, e.g.:
(343) implicit return at end of non-void function
A function which has been declared to return a value has an execution path that will allow it to reach
the end of the function body, thus returning without a value. Either insert a return statement with a
value, or if the function is not to return a value, declare it void, e.g.:
336
SET TEMP=C:\TEMP
extern int other = 99; /* if it’s extern and not allocated storage,
int mydiv(double a, int b)
{
}
if(b != 0)
return a/b;
/* what about when b is 0? */
/* warning flagged here */
how can it be initialized? */
(Code Generator, Assembler, Linker, Optimiser)
(Linker, Code Generator Driver)
Error and Warning Messages
(Parser)
(Parser)
(Parser)

Related parts for SW500007