Specifications

Resource Compiler Messages Page 17 of 24
Resource Compiler Warning RC4002
too many actual parameters for macro identifier
The number of actual parameters specified with the given identifier was greater than the number of
formal parameters given in the macro definition of the identifier. The additional actual parameters
were collected but ignored during expansion of the macro.
Resource Compiler Warning RC4003
not enough actual parameters for macro identifier
The number of actual parameters specified with the given identifier was less than the number of formal
parameters given in the macro definition of the identifier. When a formal parameter is referenced in the
definition and the corresponding actual parameter has not been provided, empty text is substituted in
the macro expansion.
Resource Compiler Warning RC4004
missing close parenthesis after ’defined’
An opening parenthesis was not matched with a closing parenthesis.
Resource Compiler Warning RC4005
identifier’ : macro redefinition
The given identifier was defined twice. The compiler used the second macro definition. This warning
can be caused by defining a macro on the command line and in the code with a #define directive. It
also can be caused by macros imported from include files. To eliminate the warning, either remove one
of the definitions or use an #undef directive before the second definition.
Resource Compiler Warning RC4006
#undef expected an identifier
The name of the identifier whose definition was to be removed was not given with the #undef
directive. The #undef directive was ignored.
Resource Compiler Warning RC4009
string too big, trailing chars truncated
A string was too large to fit in a buffer. Trailing characters were truncated and the remaining string
was used.
Resource Compiler Warning RC4011
identifier truncated to identifier
An identifier was too long and was truncated to the name shown in the warning.
Resource Compiler Warning RC4012
float constant in a cross compilation
A float constant may not have the same value on different target platforms.
Resource Compiler Warning RC4067
unexpected characters following token’ directive - newline expected
A newline character should follow the specified token.
Resource Compiler Warning RC4079
unexpected token token