Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual

Product codes
SW006021-1
Page of 518
MPLAB
®
 XC8 C Compiler User’s Guide
DS52053B-page 382
 2012 Microchip Technology Inc.
(132) no type specified in #[el]if sizeof() 
(Preprocessor)
Sizeof() was used in a preprocessor #if expression, but no type was specified. The 
argument to sizeof() in a preprocessor expression must be a valid simple type, or 
pointer to a simple type, for example:
#if sizeof()  /* oops -- size of what? */
  i = 0;
#endif
(133) unknown type code (0x*) in #[el]if sizeof() 
(Preprocessor)
The preprocessor has made an internal error in evaluating a sizeof() expression. 
Check for a malformed type specifier. This is an internal error. Contact Microchip 
Technical Support with details.
(134) syntax error in #[el]if sizeof() 
(Preprocessor)
The preprocessor found a syntax error in the argument to sizeof in a #if expression. 
Probable causes are mismatched parentheses and similar things, for example:
#if sizeof(int == 2)  // oops - should be: #if sizeof(int) == 2
  i = 0xFFFF;
#endif
(135) unknown operator (*) in #if 
(Preprocessor)
The preprocessor has tried to evaluate an expression with an operator it does not 
understand. This is an internal error. Contact Microchip Technical Support with details.
(137) strange character "*" after ## 
(Preprocessor)
A character has been seen after the token catenation operator ## that is neither a letter 
nor a digit. Since the result of this operator must be a legal token, the operands must 
be tokens containing only letters and digits, for example:
/* the ’ character will not lead to a valid token */
#define cc(a, b) a ## ’b 
(138) strange character (*) after ## 
(Preprocessor)
An unprintable character has been seen after the token catenation operator ## that is 
neither a letter nor a digit. Since the result of this operator must be a legal token, the 
operands must be tokens containing only letters and digits, for example:
/* the ’ character will not lead to a valid token */
#define cc(a, b) a ## ’b 
(139) end of file in comment 
(Preprocessor)
End of file was encountered inside a comment. Check for a missing closing comment 
flag, for example:
   /* Here the comment begins. I’m not sure where I end, though
}
(140) can’t open * file "*": * 
(Driver, Preprocessor, Code Generator, Assembler)
The command file specified could not be opened for reading. Confirm the spelling and 
path of the file specified on the command line, for example:
xc8 @communds
should that be:
xc8 @commands