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

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

Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal


From: Jan Waclawek
Subject: Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal
Date: Mon, 26 Sep 2011 21:07:01 +0200

I am confused by this question and expect a catch.


/*
   Type of a "char" object located in flash ROM.
*/
typedef char PROGMEM prog_char;

->

#define prog_char char PROGMEM

?

I also fail to understand the way how you made the typedefs deprecated in 
current revision of pgmspace.h

Jan


----- Original Message ---------------
>
>
>> 
>> 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.
>> 
>
>What macros do you want them replaced with?
>



reply via email to

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