Re: [cc65] snapshot

Date view Thread view Subject view

From: Groepaz (groepaz_at_gmx.net)
Date: 2003-09-03 21:36:38


On Wednesday 03 September 2003 10:44, Ullrich von Bassewitz wrote:
> On Wed, Sep 03, 2003 at 08:33:40AM +0200, Groepaz wrote:
> > mmmh...could you explain how exactly cc65 deals with the const keyword
> > then? does it do anything else than placing const data in .rodata?
> >
> > also, maybe the compiler could throw a warning if an assignment is made
> > to a constant lvalue (which doesnt quite make sence :=)) ?
>
> gcc warns on assignment to const, while cc65 does even output an error, so
> I do still wonder, about which cases you're thinking:

eh :=P i have to admit i didnt cross-check for such simplified cases, i 
stumbled about some odd things in that raycaster and occasionally removing 
const here and there would make things work or atleast change how things work 
when it really shouldnt....uhmz...well, maybe if i'm bored i try to dig it up 
:=P i dropped that raycaster source in favour of writing a new (much 
simplier) one from scratch :) trying to make it run at reasonable speed 
atm...may become a neat benchmark thingy :=P

gpz
----------------------------------------------------------------------
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 : 2003-09-03 21:41:59 CEST