void main (void)
unsigned char i, z;
for (i=0; i < 9; i++)
when compiled gives the error:
?ASlink-Warning-Undefined Global '_main_z_1_1'
referenced by module 'test'
Tool completed with exit code 1
Maarten Brock says:
"z is optimized into a register, but the register
cannot be initialized because you did not provide it
with an initial value.
This code should not "work" but it's valid C so it
should compile and link."
compiler version 2.5.0 #1020 (May 8 2005)
Log in to post a comment.