Re: [cc65] C question

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-12-12 21:31:43


>>> "Spiro Trikaliotis" <trik-news_at_gmx.de> 12/12/02 12:15PM >>>
>
>another possibility is that the precedence is not as you suspect.
>
>bmp->dat[((10 * y) + byte)]
>
>can be 
>
>1. (bmp->dat)[((10 * y) + byte)]
>
>or 
>
>2. bmp->(dat[((10 * y) + byte)])

I just tried number one, and had tried number two before I posted.  It appears to be a bug in 2.8.0 with optimizations.



--
Shawn  Jefferson
Network Analyst / Computer Support
School District #62 (Sooke)
250.474.9838
sjefferson_at_sd62.bc.ca


----------------------------------------------------------------------
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-12-12 21:32:14 CET