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/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to