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

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

[avr-libc-commit] [2239] 2011-05-09 Eric B.


From: Eric Weddington
Subject: [avr-libc-commit] [2239] 2011-05-09 Eric B.
Date: Mon, 09 May 2011 17:11:12 +0000

Revision: 2239
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2239
Author:   arcanum
Date:     2011-05-09 17:11:12 +0000 (Mon, 09 May 2011)
Log Message:
-----------
2011-05-09  Eric B. Weddington  <address@hidden>

        Fix for bug #32988.
        * include/avr/pgmspace.h: Add const keyword to PSTR definition.
        * NEWS: Add to fixed bug list.

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?32988

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/NEWS
    trunk/avr-libc/include/avr/pgmspace.h

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2011-05-09 16:44:33 UTC (rev 2238)
+++ trunk/avr-libc/ChangeLog    2011-05-09 17:11:12 UTC (rev 2239)
@@ -1,5 +1,11 @@
 2011-05-09  Eric B. Weddington  <address@hidden>
 
+       Fix for bug #32988.
+       * include/avr/pgmspace.h: Add const keyword to PSTR definition.
+       * NEWS: Add to fixed bug list.
+
+2011-05-09  Eric B. Weddington  <address@hidden>
+
        Fix for bug #33230.
        * include/avr/sleep.h: Move conditionals for devices attiny261,
        attiny261a, attiny461, attiny461a, attiny861, attiny861a to

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-05-09 16:44:33 UTC (rev 2238)
+++ trunk/avr-libc/NEWS 2011-05-09 17:11:12 UTC (rev 2239)
@@ -8,6 +8,7 @@
   [#32103] Support for Target-Triplets
   [#32419] Incorrect EEPROM size in header for ATxmega192A3
   [#32698] power.h has additional endif that will break the build
+  [#32988] Internal compiler error: build_unary_op
   [#33230] Sleep modes have incorrect names for ATtiny261/461/861
   [#33238] Wrong _VECTORS_SIZE for mega8U2 et al
   system when power_all_disable() is used

Modified: trunk/avr-libc/include/avr/pgmspace.h
===================================================================
--- trunk/avr-libc/include/avr/pgmspace.h       2011-05-09 16:44:33 UTC (rev 
2238)
+++ trunk/avr-libc/include/avr/pgmspace.h       2011-05-09 17:11:12 UTC (rev 
2239)
@@ -252,7 +252,7 @@
 # define PSTR(s) ((const PROGMEM char *)(s))
 #else  /* !DOXYGEN */
 /* The real thing. */
-# define PSTR(s) (__extension__({static char __c[] PROGMEM = (s); &__c[0];}))
+# define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); 
&__c[0];}))
 #endif /* DOXYGEN */
 
 #define __LPM_classic__(addr)   \




reply via email to

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