Specifications
Resource Compiler Messages Page 7 of 24
expected ’defined(id)’
An identifier was expected after the left parenthesis following the specified preprocessing keyword.
Resource Compiler Error RC2005
#line expected a line number, found ’token’
A #line directive lacked the required line-number specification.
Resource Compiler Error RC2006
#include expected a filename, found ’token’
An #include directive lacked the required filename specification.
Resource Compiler Error RC2007
#define syntax
An identifier was expected following #define in a preprocessing directive.
Resource Compiler Error RC2008
’character’ : unexpected in macro definition
The given character was found immediately following the name of the macro.
Resource Compiler Error RC2009
reuse of macro formal ’identifier’
The given identifier was used more than once in the formal parameter list of a macro definition.
Resource Compiler Error RC2010
’character’ : unexpected in formal list
The given character was used incorrectly in the formal parameter list of a macro definition.
Resource Compiler Error RC2012
missing name following ’<’
An #include directive lacked the required filename specification.
Resource Compiler Error RC2013
missing ’>’
The closing angle bracket (>) was missing from an #include directive.
Resource Compiler Error RC2014
preprocessor command must start as first non-whitespace
Non-white-space characters appeared before the number sign (#) of a preprocessor directive on the
same line.
Resource Compiler Error RC2015
too many chars in constant
A character constant contained more than two characters. Character constants are limited to one
character (standard character constants) or two characters (long character constants). Note that an
escape sequence (for example, \t for tab) is converted to a single character.
Resource Compiler Error RC2016
no closing single quote
A newline character was found before the closing single quotation mark of a character constant.










