[cc65] bug?

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-03-15 14:14:26


hyho!

i dont know if thats really an issue anyway, i didnt actually
cross-check on cc65, but here it is.....

when i took some code originally made with cc65 and compiled it using
gcc, it started behaving strange, and i could track down the error to
a line

       y2=((y1*c))-((z1*s))>>8;  (notice the _wrong_ braces, this
                                  worked like intended in cc65!!!)

which should correctly look like

       y2=((y1*c)-(z1*s))>>8;

....so, the fact that it worked before implies that there maybe a bug
with the expression evaluation in cc65? any ideas?

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-03-15 14:16:12 CET