SW500008 Microchip Technology, SW500008 Datasheet - Page 315

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
(126) can’t use a string in an #if
The preprocessor does not allow the use of strings in
(127) bad #if ... defined() syntax
The defined() pseudo-function in a preprocessor expression requires its argument to be a single
name. The name must start with a letter and should be enclosed in parentheses, e.g.:
(128) illegal operator in #if
A #if expression has an illegal operator. Check for correct syntax, e.g.:
(129) unexpected "\" in #if
The backslash is incorrect in the #if statement, e.g.:
(130) #if sizeof, unknown type "*"
An unknown type was used in a preprocessor sizeof(). The preprocessor can only evaluate
sizeof() with basic types, or pointers to basic types, e.g.:
#if MESSAGE > “hello” /* no string operations allowed by the preprocessor */
#define DEBUG
#endif
#if defined(a&b)
#endif
#if FOO = 6 /* woops -- should that be: #if FOO == 5 ? */
#if FOO == \34
#endif
#if sizeof(unt) == 2 /* woops -- should be: #if sizeof(int) == 2 */
#endif
input = read();
#define BIG
i = 0xFFFF;
/* woops -- defined expects a name, not an expression */
#if
expressions, e.g.:
(Preprocessor)
(Preprocessor)
(Preprocessor)
(Preprocessor)
(Preprocessor)
301

Related parts for SW500008