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

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

Re: [avr-libc-dev] Build Error?


From: Boyapati, Anitha
Subject: Re: [avr-libc-dev] Build Error?
Date: Wed, 22 Jun 2011 23:15:15 +0800


>-----Original Message-----
>From: Joerg Wunsch [mailto:address@hidden
>Sent: Wednesday, June 22, 2011 8:08 PM
>To: address@hidden
>Cc: Boyapati, Anitha
>Subject: Re: [avr-libc-dev] Build Error?
>
>As Boyapati, Anitha wrote:
>
>> ../../../libc/stdio/vfscanf.c:783:27: error: variable '__c' must be const
>in order to be put into read-only section by means of
>'__attribute__((progmem))'
>
>The variable __c is the internal variable used inside the PSTR macro.
>This variable must be declared "const", which has recently been
>committed to the tree:
>
>r2239 | arcanum | 2011-05-09 19:11:12 +0200 (Mon, 09 May 2011) | 6 lines
>
>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.
>
>Are you perchance accidentally using an outdated version of the
><avr/pgmspace.h> header file (e.g. an installed old version rather
>than the in-tree new one)?
>

Hmm, I am using 1.7.1 release version. Let me see what the differences are..

Anitha



reply via email to

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