avr-libc-dev
[Top][All Lists]
Advanced

[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:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20

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
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=871000#871000

Jan Waclawek



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?33716>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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