Also: this is a .cpp file. I found some of the AVR Freaks thread. They say it's
a known problem in GCC C++. Sigh.
--
Rick
On Jul 1, 2012, at 20:45 , Rick Mann wrote:
> Hi. I'm trying to use pgmspace with avr-gcc 4.3.3. The archive had this
> question posted (in reference to WinAVR), and some discussion about a thread
> in AVR Freaks, but AVR Freak's search isn't very good (I've never liked
> phpBBS).
>
> Can anyone tell me if I can safely ignore that warning, and if there's a
> newer version of GCC that doesn't emit it?
>
> I modified a line like
>
> printf("foo\n");
>
> to
> printf_P(PSTR("foo\n"));
>
> and get that warning.
>
> Thanks,
> Rick
>
>
> _______________________________________________
> AVR-chat mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/avr-chat
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat