Re: [cc65] bug?

From: Groepaz <groepaz1gmx.net>
Date: 2009-08-26 20:10:01
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 :)

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

-- 

http://www.hitmen-console.org    http://magicdisk.untergrund.net
http://www.pokefinder.org        http://ftp.pokefinder.org

Any technology distinguishable from magic is insufficiently advanced. 
<Alan Braggins>

----------------------------------------------------------------------
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:09:59 2009

This archive was generated by hypermail 2.1.8 : 2009-08-26 20:10:01 CEST