> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]
> >  On Behalf Of Steve Franks
> > Sent: Friday, January 11, 2008 10:05 AM
> > To: avr-chat@nongnu.org
> > Subject: [avr-chat] upgrading winavr gives warning on PSTR
> > 
> > We just changed to the latest winavr and we get:
> > 
> > "CmdHandlers.cpp:1933: warning: only initialized variables can be
> > placed into program memory area"
> > 
> > from:
> > 
> > "printf_P(PSTR("Pmc Revision:%s\n"), GlobalRev);"
> > 
> > and any other line that uses the PSTR macro.
> > 
> > FYI, we are using avr-g++, and it reports v4.2.2 and the 
> > latest winavr rev.
> > 
> 
> Hi Steve,
> 
> There is a huge thread on AVR Freaks about this very topic.
> 
> Give me a minute while I look up the link ...
> 

Of course, as luck would have it, I can't seem to access the AVR Freaks
website right now.


_______________________________________________
AVR-chat mailing list
AVR-chat@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to