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

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
Operator precedence rules may not be as intended, use() to clarify
Some combinations of operators are confusing to some programmers. This warning is issued for
expressions where adding() would help to clarify the meaning. For example:
would be more universally understood when expressed:
Option may be wrong
Structure passed by value
Structures are usually passed by reference to a function. This warning is generated if the structure
is being passed by value. This warning is not generated if the structure is less than 5 bytes. For
example:
Undefined identifier
The specified identifier is being used but has never been defined. Check the spelling.
Unprotected call in a #INT_GLOBAL
The interrupt function defined as #INT_GLOBAL is intended to be assembly language or very
simple C code. This error indicates the linker detected code that violated the standard memory
allocation scheme. This may be caused when a C function is called from a #INT_GLOBAL interrupt
handler.
Unreachable code
Code included in the program is never executed. For example:
Unsigned variable is never less than zero
Unsigned variables are never less than 0. This warning indicates an attempt to check to see if an
unsigned variable is negative. For example the following will not work as intended:
Variable assignment never used.
void myfunct( mystruct s1 )
myfunct( s2 );
void myfunct( mystruct * s1 )
myfunct( &s2 );
void myfunct( mystruct & s1 )
myfunct( s2 );
int i;
for(i=10; i>=0; i--)
if( x << n + 1 )
if( x << (n + 1) )
if(n==5)
goto exit;
if(n==20)
goto do5;
return;
// No way to get to this line
// Pass by value - Warning
// Pass by reference - OK
// Pass by reference - OK
325

Related parts for PCDIDE COMPILER