SW006012 Microchip Technology, SW006012 Datasheet - Page 50

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 44
®
C30 User’s Guide
TABLE 3-6:
-Wconversion
-Werror
-Winline
-Wlarger-than-len
-Wlong-long
-Wno-long-long
-Wmissing-declarations Warn if a global function is defined without a previous
-Wmissing-
-Wmissing-noreturn
-Wmissing-prototypes
-Wnested-externs
-Wno-deprecated-
-Wpadded
-Wpointer-arith
-Wredundant-decls
-Wshadow
format-attribute
declarations
Option
WARNING/ERROR OPTIONS NOT IMPLIED BY -WALL
Warn if a prototype causes a type conversion that is different
from what would happen to the same argument in the
absence of a prototype. This includes conversions of fixed
point to floating and vice versa, and conversions changing the
width or signedness of a fixed point argument, except when
the same as the default promotion.
Also, warn if a negative integer constant expression is
implicitly converted to an unsigned type. For example, warn
about the assignment x = -1 if x is unsigned. But do not
warn about explicit casts like (unsigned) -1.
Make all warnings into errors.
Warn if a function can not be inlined, and either it was
declared as inline, or else the -finline-functions option
was given.
Warn whenever an object of larger than len bytes is defined.
Warn if long long type is used. This is default. To inhibit the
warning messages, use -Wno-long-long. Flags
-Wlong-long and -Wno-long-long are taken into account
only when -pedantic flag is used.
declaration. Do so even if the definition itself provides a
prototype.
If -Wformat is enabled, also warn about functions that might
be candidates for format attributes. Note these are only possi-
ble candidates, not absolute ones. This option has no effect
unless -Wformat is enabled.
Warn about functions that might be candidates for attribute
noreturn. These are only possible candidates, not absolute
ones. Care should be taken to manually verify functions.
Actually, do not ever return before adding the noreturn
attribute; otherwise subtle code generation bugs could be
introduced.
Warn if a global function is defined without a previous
prototype declaration. This warning is issued even if the
definition itself provides a prototype. (This option can be used
to detect global functions that are not declared in header files.)
Warn if an extern declaration is encountered within a
function.
Do not warn about uses of functions, variables and types
marked as deprecated by using the deprecated attribute.
Warn if padding is included in a structure, either to align an
element of the structure or to align the whole structure.
Warn about anything that depends on the size of a function
type or of void. MPLAB C30 assigns these types a size of 1,
for convenience in calculations with void * pointers and
pointers to functions.
Warn if anything is declared more than once in the same
scope, even in cases where multiple declaration is valid and
changes nothing.
Warn whenever a local variable shadows another local
variable.
Definition
© 2007 Microchip Technology Inc.

Related parts for SW006012