SW006015 Microchip Technology, SW006015 Datasheet - Page 29

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
© 2007 Microchip Technology Inc.
TABLE 1-6:
-Wredundant-decls
-Wshadow
-Wsign-compare
-Wno-sign-compare
-Wstrict-prototypes
-Wtraditional
-Wundef
-Wunreachable-code
-Wwrite-strings
Option
WARNING AND ERROR OPTIONS NOT IMPLIED BY
-WALL (CONTINUED)
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.
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
gets a warning. At compile time, these warnings help you find
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’s just 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
DS51686A-page 25

Related parts for SW006015