Other HI-TECH Compilers & Products >> Other HI-TECH Compilers & Products

Pages: 1
ttneil



Reged: Mar 26 2007
Posts: 5
Question.
      #26761 - Mon Mar 26 2007 05:21 AM

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) )


Post Extras: Print Post   Remind Me!   Notify Moderator  
jtemplesModerator
Guru
****

Reged: Oct 16 2003
Posts: 1339
Loc: Southern California
Re: Question. [Re: ttneil]
      #26765 - Mon Mar 26 2007 12:57 PM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
ttneil



Reged: Mar 26 2007
Posts: 5
Re: Question. [Re: jtemples]
      #26785 - Wed Mar 28 2007 02:12 AM

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.




Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  ndouglas, jtemples, Dan Henry, Andrew L, mikerj, dave g, meisty, josh stevo 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Topic views: 2010

Rate this topic

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5