Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 276549 Details for
Bug 371043
dev-embedded/avr-libc-1.7.1 version bump with fixes for gcc-4.6.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for the gcc ICE
avr-libc-fix-gcc-4.6.0.patch (text/plain), 1.15 KB, created by
Francisco Blas Izquierdo Riera
on 2011-06-10 16:17:49 UTC
(
hide
)
Description:
Patch for the gcc ICE
Filename:
MIME Type:
Creator:
Francisco Blas Izquierdo Riera
Created:
2011-06-10 16:17:49 UTC
Size:
1.15 KB
patch
obsolete
>diff -ur 1/include/avr/pgmspace.h 2/include/avr/pgmspace.h >--- 1/include/avr/pgmspace.h 2011-05-31 18:19:44.524000823 +0200 >+++ 2/include/avr/pgmspace.h 2011-05-31 18:20:27.576000824 +0200 >@@ -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) \ >diff -ur 1/libc/stdlib/dtostre.c 2/libc/stdlib/dtostre.c >--- 1/libc/stdlib/dtostre.c 2011-05-31 18:19:44.639000823 +0200 >+++ 2/libc/stdlib/dtostre.c 2011-05-31 18:20:27.639000824 +0200 >@@ -37,9 +37,9 @@ > char * > dtostre (double val, char *sbeg, unsigned char prec, unsigned char flags) > { >- __attribute__((progmem)) static char str_nan[2][4] = >+ __attribute__((progmem)) static const char str_nan[2][4] = > {"nan", "NAN"}; >- __attribute__((progmem)) static char str_inf[2][sizeof(str_nan[0])] = >+ __attribute__((progmem)) static const char str_inf[2][sizeof(str_nan[0])] = > {"inf", "INF"}; > char *d; /* dst */ > char *s; /* src */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371043
:
276547
| 276549