ttneil
Reged: Mar 26 2007
Posts: 5
|
|
I encounter an error message "(1059) rewrite loop " when i compiled with the HI-TECH C for Holtek MCU.
It was happen in this code(the last condition): if ((gu8arr3_color[u8_id][(cu8arr2_lines[u8_x][0])/3][(cu8arr2_lines[u8_x][0])%3] == gu8arr3_color[u8_id][(cu8arr2_lines[u8_x][1])/3][(cu8arr2_lines[u8_x][1])%3]) && (gu8arr3_color[u8_id][(cu8arr2_lines[u8_x][0])/3][(cu8arr2_lines[u8_x][0])%3] == gu8arr3_color[u8_id][(cu8arr2_lines[u8_x][2])/3][(cu8arr2_lines[u8_x][2])%3]) && (gu8arr3_color[u8_id][(cu8arr2_lines[u8_x][0])/3][(cu8arr2_lines[u8_x][0])%3] != BLACK) )
|
jtemples
Guru
  
Reged: Oct 16 2003
Posts: 1339
Loc: Southern California
|
|
Perhaps you've found a compiler bug, but unless you're entering an obfuscated code contest, I'll bet that if you simplified that line, the error would go away.
|
ttneil
Reged: Mar 26 2007
Posts: 5
|
|
Thank you very much!It works.and now i have encountered another problem.I will post a new message.Quote:
Perhaps you've found a compiler bug, but unless you're entering an obfuscated code contest, I'll bet that if you simplified that line, the error would go away.
|