Follow-up Comment #1, bug #32988 (project avr-libc):

This is addressed in

http://gcc.gnu.org/PR44643

Besides changes in avr-gcc, definition of include/avr/pgmspace.h:PSTR has to
be changed from

# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];}))

to

# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s);
&__c[0];}))

with this change avr-libc should build (didn't try it, but there no reason for
avr-gcc ICEing any more).

The changes in avr-gcc will lead to a more comprehensible error massage
instead of a fatal abort. However, fixing PSTR will still be needed.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


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

Reply via email to