SW500007 Microchip Technology, SW500007 Datasheet - Page 392

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
which checks to see if a is equal to 4.
(759) expression generates no code
This expression generates no output code. Check for things like leaving off the parentheses in a
function call, e.g.:
Some devices require that special function register need to be read to clear hardware flags. To
accommodate this, in some instances the code generator does produce code for a statement which
only consists of a variable ID. This may happen for variables which are qualified as volatile.
Typically the output code will read the variable, but not do anything with the value read.
(760) portion of expression has no effect
Part of this expression has no side effects, and no effect on the value of the expression, e.g.:
(761) sizeof yields 0
The code generator has taken the size of an object and found it to be zero. This almost certainly
indicates an error in your declaration of a pointer, e.g. you may have declared a pointer to a zero
length array. In general, pointers to arrays are of little use. If you require a pointer to an array of
objects of unknown length, you only need a pointer to a single object that can then be indexed or
incremented.
(763) constant left operand to ?
The left operand to a conditional operator ? is constant, thus the result of the tertiary operator ?:
will always be the same, e.g.:
378
if(a == 4) /* this can never be false; always perform the true statement */
int fred;
fred;
int a, b, c;
a = b,c; /* “b” has no effect, was that meant to be a comma? */
a = 8 ? b : c; /* this is the same as saying a = b; */
b = 6;
/* this is valid, but has no effect at all */
Error and Warning Messages
(Code Generator)
(Code Generator)
(Code Generator)
(Code Generator)

Related parts for SW500007