SW006012 Microchip Technology, SW006012 Datasheet - Page 196

C COMPILER FOR DSPIC30F FAMILY

SW006012

Manufacturer Part Number
SW006012
Description
C COMPILER FOR DSPIC30F FAMILY
Manufacturer
Microchip Technology
Type
MPLAB® C30 Compilerr
Series
PIC24 & DsPICr
Datasheets

Specifications of SW006012

Supported Families
PIC24, DsPIC30F And DsPIC33F
Core Architecture
PIC, DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Tool Type
Compiler
Processor Series
PIC24, dsPIC
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
dsPIC30F
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
MPLAB
DS51284F-page 190
®
C30 User’s Guide
suggest hiding #directive from traditional C with an indented #
The specified directive is not traditional C and may be 'hidden' by indenting the #.
A directive is ignored unless its # is in column 1.
suggest not using #elif in traditional C
#elif should not be used in traditional K&R C.
suggest parentheses around assignment used as truth value
When assignments are used as truth values, they should be surrounded by
parentheses, to make the intention clear to readers of the source program.
suggest parentheses around + or - inside shift
suggest parentheses around && within ||
suggest parentheses around arithmetic in operand of |
suggest parentheses around comparison in operand of |
suggest parentheses around arithmetic in operand of ^
suggest parentheses around comparison in operand of ^
suggest parentheses around + or - in operand of &
suggest parentheses around comparison in operand of &
While operator precedence is well defined in C, sometimes a reader of an expression
might be required to expend a few additional microseconds in comprehending the
evaluation order of operands in an expression if the reader has to rely solely upon the
precedence rules, without the aid of explicit parentheses. A case in point is the use of
the '+' or '-' operator inside a shift. Many readers will be spared unnecessary effort if
parentheses are use to clearly express the intent of the programmer, even though the
intent is unambiguous to the programmer and to the compiler.
T
'identifier' takes only zero or two arguments
Expecting zero or two arguments only.
the meaning of '\a' is different in traditional C
When the -wtraditional option is used, the escape sequence '\a' is not recognized
as a meta-sequence: its value is just 'a'. In non-traditional compilation, '\a' represents
the ASCII BEL character.
the meaning of '\x' is different in traditional C
When the -wtraditional option is used, the escape sequence '\x' is not recognized
as a meta-sequence: its value is just 'x'. In non-traditional compilation, '\x' introduces a
hexadecimal escape sequence.
third argument of 'identifier' should probably be 'char **'
Expecting third argument of specified identifier to be of type 'char **'.
this function may return with or without a value
All exit paths from non-void function should return an appropriate value. The compiler
detected a case where a non-void function terminates, sometimes with and sometimes
without an explicit return value. Therefore, the return value might be unpredictable.
this target machine does not have delayed branches
The -fdelayed-branch option is not supported.
too few arguments for format
When checking the argument list of a call to printf, scanf, etc., the compiler found that
the number of actual arguments was fewer than that required by the format string.
© 2007 Microchip Technology Inc.

Related parts for SW006012