SW500011 Microchip Technology, SW500011 Datasheet - Page 376

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
(758) constant conditional branch: possible use of "=" instead of "=="
There is an expression inside an if or other conditional construct, where a constant is being assigned
to a variable. This may mean you have inadvertently used an assignment = instead of a compare ==,
e.g.:
will assign the value 4 to a, then , as the value of the assignment is always true, the comparison can
be omitted and the assignment to b always made. Did you mean:
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.:
376
/* this can never be false;
if(a == 4)
int fred;
fred;
int a, b, c;
a = b,c; /* “b” has no effect,
int a, b;
/* this can never be false;
if(a = 4)
always perform the true statement */
b = 6;
b = 6;
always perform the true statement */
/* this is valid, but has no effect at all */
was that meant to be a comma? */
Error and Warning Messages
(Code Generator)
(Code Generator)
(Code Generator)

Related parts for SW500011