avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] typdefing 'cost' .. PROGMEM doesn't work


From: Reza Naima
Subject: Re: [avr-gcc-list] typdefing 'cost' .. PROGMEM doesn't work
Date: Fri, 1 Aug 2003 02:51:30 -0700
User-agent: Mutt/1.4i

So, would this imply that I found a bug, or am I still missing
something?  If it is a bug, is there a faq on reporting them somewhere?

Thnx,
Reza

On Fri, Aug 01, 2003 at 10:30:39AM +0200, Joerg Wunsch sent me this...
> As Reza Naima <address@hidden> wrote:
> 
> >I'm confused in how 'const' is affecting the storage of arrays the
> >flash.
> 
> In no way at all.  The `const' qualifier is only a hint to the
> compiler that the qualified object is not intented to be ever
> modified, so it can emit warnings for possible modification attempts.
> 
> In C++, you can actually declare a constant with it, but in C, you can
> only declare a variable that is not supposed to be modified.
> -- 
> J"org Wunsch                                         Unix support engineer
> address@hidden        http://www.interface-systems.de/~j/
> 
> _______________________________________________
> avr-gcc-list mailing list
> address@hidden
> http://www.avr1.org/mailman/listinfo/avr-gcc-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]