beautypg.com

Preprocessor warning and error messages – Zilog Z8F0130 User Manual

Page 284

background image

Using the ANSI C-Compiler

UM013037-1212

260

Zilog Developer Studio II – Z8 Encore!
User Manual

If you see an internal error message, please report it to Technical Support at

http://sup-

port.zilog.com

. Zilog staff will use the information to diagnose or log the problem.

Preprocessor Warning and Error Messages

000 Illegal constant expression in directive.

A constant expression made up of constants and macros that evaluate to constants can
be the only operands of an expression used in a preprocessor directive.

001 Concatenation at end-of-file. Ignored.

An attempt was made to concatenate lines with a backslash when the line is the last
line of the file.

002 Illegal token.

An unrecognizable token or non-ASCII character was encountered.

003 Illegal redefinition of macro .

An attempt was made to redefine a macro, and the tokens in the macro definition do
not match those of the previous definition.

004 Incorrect number of arguments for macro <name>.

An attempt was made to call a macro, but too few or too many arguments were given.

005 Unbalanced parentheses in macro call “<name>”.

An attempt was made to call <name> macro with a parenthesis embedded in the argu-
ment list that did not match up.

006 Cannot redefine <name> keyword.

An attempt was made to redefine a keyword as a macro.

007 Illegal directive.

The syntax of a preprocessor directive is incorrect.

008 Illegal "#if" directive syntax.

The syntax of a

#if

preprocessor directive is incorrect.

009 Bad preprocessor file. Aborted.

An unrecognizable source file was given to the compiler.

010 Illegal macro call syntax.

An attempt was made to call a macro that does not conform to the syntax rules of the
language.

Note: