[Top][All Lists]

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

[avr-libc-dev] [bug #33716] pgmspace typedefs not legal

From: Jan Waclawek
Subject: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal
Date: Mon, 26 Sep 2011 18:48:12 +0000
User-agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv: Gecko/20081217 Firefox/

Follow-up Comment #3, bug #33716 (project avr-libc):

Rather than deprecating the typedefs in pgmspace.h, I would suggest to replace
them by respective macros.

The reason for this is, that those typedefs are provided as a convenience for
*users*, who would like to have the simplest possible means for placing
variables into the code memory (and maybe also as a basis for writing
universal code which could be migrated between different AVR C compilers). I
accept the fact that the progmem typedefs are broken and the developers refuse
to fix them, and I accept it in the hope that the real named spaces will be
available soon. Those typedefs/macros would then provide also a seamless
migration path to the new way of placing/accessing such variables.

Otherwise, a large amount of existing code - including examples in the
documentation - will start to throw those warnings quite unnecessarily.

I here repeat what I've already said in

Jan Waclawek


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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