> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > On Behalf Of Steve Franks > Sent: Friday, January 11, 2008 10:05 AM > To: [email protected] > 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 ... Eric Weddington _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
