Re: [cc65] bug?

From: <silverdr1wfmh.org.pl>
Date: 2009-08-26 20:43:46
On 2009-08-26, at 20:10, Groepaz wrote:

> On Mittwoch 26 August 2009, silverdr@wfmh.org.pl wrote:
>
>> But doesn't it come out of the evaluation priorities / order (not  
>> sure
>> abut the English term) - part of the language definition. IMHO this
>> first example is just plainly wrong, not ambiguous, isn't it?
>
> yesyes, see my other mail :)

Yes - now I see. :-) I receive the mail on this account with some  
noticeable delay (about half an hour) due to anti-spam measures on the  
ISP side (most spambots do not honor the SMTP defer)

>> OTOH gcc
>> possibly says something like "warning: ... is always false"? That I
>> agree - can probably help in some almost obviously erroneous cases.
>
> gcc (with -Wall) gives
>
> "warning: suggest parentheses around comparison in operand of &"
>
> on that snippet ... which is very helpful imho :)

Interesting - I thought it recognised only the 0x80 == 0x00, which  
can't change its value but they apparently went even further. Might be  
that this is a well-known, common error.

-- 
SD!

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Aug 26 20:43:54 2009

This archive was generated by hypermail 2.1.8 : 2009-08-26 20:43:56 CEST