SW500008 Microchip Technology, SW500008 Datasheet - Page 321

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
Error and Warning Messages
(169) strange character after # (*)
There is an unexpected character after #.
(170) symbol "*" not defined in #undef
The symbol supplied as argument to #undef was not already defined. This warning may be disabled
with some compilers. This warning can be avoided with code like:
(171) wrong number of macro arguments for "*" - * instead of *
A macro has been invoked with the wrong number of arguments, e.g.:
(172) formal parameter expected after #
The stringization operator # (not to be confused with the leading # used for preprocessor control
lines) must be followed by a formal macro parameter, e.g.:
If you need to stringize a token, you will need to define a special macro to do it, e.g.
then use __mkstr__(token) wherever you need to convert a token into a string.
(173) undefined symbol "*" in #if, 0 used
A symbol on a #if expression was not a defined preprocessor macro. For the purposes of this
expression, its value has been taken as zero. This warning may be disabled with some compilers.
Example:
#ifdef SYM
#endif
#define ADD(a, b) (a+b)
ADD(1, 2, 3)
#define str(x) #y /* woops -- did you mean x instead of y? */
#define __mkstr__(x) #x
#if FOO+BAR
#endif
#undef SYM /* only undefine if defined */
#define GOOD
/* e.g. FOO was never #defined */
/* woops -- only two arguments required */
(Preprocessor)
(Preprocessor)
(Preprocessor)
(Preprocessor)
(Preprocessor)
307

Related parts for SW500008