Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: Mixing gcc C & C++

2012-12-06 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, "Chuck Hackett" <egroupscdh@...> wrote:
> Relay.cpp|297|warning: only initialized variables
> can be placed into program memory area
This is a known problem with a known solution, see the AVR Freaks link below.

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=87080

In our code base, we've adapted the solution described in a slightly different way but the effect is the same.

Incidentally, in the Arduino code base the problem still exists as of v1.0.2.

Regards,

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.