SW006015 Microchip Technology, SW006015 Datasheet - Page 28

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51686A-page 24
®
TABLE 1-6:
-Wcast-align
-Wcast-qual
-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
format-attribute
declarations
Option
WARNING AND ERROR OPTIONS NOT IMPLIED BY
-WALL (CONTINUED)
Warn whenever a pointer is cast, such that the required
alignment of the target is increased. For example, warn if a
char * is cast to an int * .
Warn whenever a pointer is cast, so as to remove a type
qualifier from the target type. For example, warn if a
const char * is cast to an ordinary char *.
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
possible 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 C32 C compiler assigns these types
a size of 1, for convenience in calculations with void *
pointers and pointers to functions.
Definition
© 2007 Microchip Technology Inc.

Related parts for SW006015