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

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
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 PCWHD IDE COMPILER