Re: [cc65] and another....

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-10-06 21:05:37


On Thu, Jul 18, 2002 at 09:44:23PM +0200, groepaz wrote:
> for (i = INT_MIN; i <  INT_MIN+6; i++)
>
> works as intended, but...
>
> for (i = INT_MIN; i <= INT_MIN+5; i++)
>
> gives "comparison is always true" warning and endless loop.

Is fixed in the development version. I've also changed the representation of
INT_MIN in limits.h to avoid the warning "constant is long" when using it, and
(as the warning says) the use of long arithmetic in this case.

Regards


        Uz      (still catching up)


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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-10-06 21:15:17 CEST