SW006012 Microchip Technology, SW006012 Datasheet - Page 51

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
© 2007 Microchip Technology Inc.
TABLE 3-6:
-Wsign-compare
-Wno-sign-compare
-Wstrict-prototypes
-Wtraditional
-Wundef
-Wunreachable-code
-Wwrite-strings
Option
WARNING/ERROR OPTIONS NOT IMPLIED BY -WALL
Using MPLAB C30 C Compiler
Warn when a comparison between signed and unsigned
values could produce an incorrect result when the signed
value is converted to unsigned. This warning is also enabled
by -W; to get the other warnings of -W without this warning,
use -W -Wno-sign-compare.
Warn if a function is declared or defined without specifying the
argument types. (An old-style function definition is permitted
without a warning if preceded by a declaration which specifies
the argument types.)
Warn about certain constructs that behave differently in
traditional and ANSI C.
• Macro arguments occurring within string constants in the
• A function declared external in one block and then used
• A switch statement has an operand of type long.
• A nonstatic function declaration follows a static one. This
Warn if an undefined identifier is evaluated in an #if
directive.
Warn if the compiler detects that code will never be executed.
It is possible for this option to produce a warning even though
there are circumstances under which part of the affected line
can be executed, so care should be taken when removing
apparently-unreachable code. For instance, when a function is
inlined, a warning may mean that the line is unreachable in
only one inlined copy of the function.
Give string constants the type const char[length] so that
copying the address of one into a non-const char * pointer
will get a warning. These warnings will help you find at
compile time code that you can try to write into a string
constant, but only if you have been very careful about using
const in declarations and prototypes. Otherwise, it will just be
a nuisance, which is why -Wall does not request these
warnings.
macro body. These would substitute the argument in
traditional C, but are part of the constant in ANSI C.
after the end of the block.
construct is not accepted by some traditional C compilers.
Definition
DS51284F-page 45

Related parts for SW006012