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

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
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 PCDIDE COMPILER