PCWHD IDE COMPILER Custom Computer Services Inc (CCS), PCWHD IDE COMPILER Datasheet - Page 337

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
COMPILER WARNING MESSAGES
Compiler Warning Messages
#error/warning
Assignment inside relational expression
Although legal it is a common error to do something like if(a=b) when it was intended to do if(a==b).
Assignment to enum is not of the correct type.
This warning indicates there may be such a typo in this line:
Assignment to enum is not of the correct type
If a variable is declared as a ENUM it is best to assign to the variables only elements of the enum.
Code has no effect
The compiler can not discern any effect this source code could have on the generated code. Some
examples:
Condition always FALSE
This error when it has been determined at compile time that a relational expression will never be
true. For example:
For example:
enum colors {RED,GREEN,BLUE} color;
...
color = GREEN;
color = 1;
color = (colors)1;
1;
a==b;
1,2,3;
int x;
if( x>>9 )
// OK
// Warning 209
//OK
323

Related parts for PCWHD IDE COMPILER