avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] upgrading winavr gives warning on PSTR


From: Steve Franks
Subject: [avr-chat] upgrading winavr gives warning on PSTR
Date: Fri, 11 Jan 2008 10:04:56 -0700

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.

Steve
--




reply via email to

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