[cc65] warnings int/char copying?

From: Johan Kotlinski <kotlinski1gmail.com>
Date: 2005-07-28 00:16:37
Hi there!

I just found an old, subtle error in my code. The cause was that I did
the mistake to use a temp variable of type char instead of int, so
some data was lost.

The error would have been immediately obvious, if cc65 warned me about
copying from an integer variable to a char variable. However, it

I can't say it's an error of the compiler, but it made me a bit
curious about what the philosophy is about warning for stuff like
this? When and when not...

Thanks for a truly great development kit :)

To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jul 28 00:16:49 2005

This archive was generated by hypermail 2.1.8 : 2005-07-28 00:16:52 CEST