SW006012 Microchip Technology, SW006012 Datasheet - Page 161

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
C.1
C.2
© 2007 Microchip Technology Inc.
INTRODUCTION
ERRORS
Appendix C. MPLAB C30 C Compiler Diagnostics
This appendix lists the most common diagnostic messages generated by the MPLAB
C30 compiler.
The MPLAB C30 compiler can produce two kinds of diagnostic messages: errors and
warnings. Each kind has a different purpose.
• Errors reports problems that make it impossible to compile your program. MPLAB
• Warnings reports other unusual conditions in your code that may indicate a
Warnings may indicate danger points where you should check to make sure that your
program really does what you intend; or the use of obsolete features; or the use of
non-standard features of MPLAB C30 C. Many warnings are issued only if you ask for
them, with one of the -W options (for instance,-Wall requests a variety of useful
warnings).
In rare instances, the compiler may issue an internal error message report. This
signifies that the compiler itself has detected a fault that should be reported to
Microchip support. Details on contacting support are contained elsewhere in this
manual.
Symbols
\x used with no following HEX digits
The escape sequence \x should be followed by hex digits.
'&' constraint used with no register class
The asm statement is invalid.
'%' constraint used with last operand
The asm statement is invalid.
#elif after #else
In a preprocessor conditional, the #else clause must appear after any #elif clauses.
#elif without #if
In a preprocessor conditional, the #if must be used before using the #elif.
#else after #else
In a preprocessor conditional, the #else clause must appear only once.
#else without #if
In a preprocessor conditional, the #if must be used before using the #else.
C30 reports errors with the source file name and line number where the problem
is apparent.
problem, although compilation can (and does) proceed. Warning messages also
report the source file name and line number, but include the text warning: to dis-
tinguish them from error messages.
USER’S GUIDE
MPLAB
DS51284F-page 155
®
C30

Related parts for SW006012