C file, Warning and error messages, Preprocessor warning and error messages – Zilog EZ80F916 User Manual
Page 188

UM014423-0607
Using the ANSI C-Compiler
ZiLOG Developer Studio II
eZ80Acclaim!
®
User Manual
168
end
C File
extern unsigned char my_data[20];
void foo(void)
{
unsigned char i;
for (i=0;i<sizeof(my_data);++i)
my_data[i] = 0xff;
}
NOTE: The C file refers to the variable as
my_data
while the assembly uses
_my_data
.
These names are different because the compiler prefixes all global variable names
with an underscore (_). Failing to perform these modifications results in undefined
symbol errors from the linker.
WARNING AND ERROR MESSAGES
NOTE: If you see an internal error message, please report it to Technical Support at
http://support.zilog.com
. ZiLOG staff will use the information to diagnose
or log the problem.
This section covers the following:
•
“Preprocessor Warning and Error Messages” on page 168;
•
“Front-End Warning and Error Messages” on page 171
•
“Optimizer Warning and Error Messages” on page 179
•
“Code Generator Warning and Error Messages” on page 181
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.