Until such time that it can be shown that replacing them with macros is a safe 
alternative, then they will stay as deprecated, as deprecation is a known safe 
alternative.

If someone should discover that replacing them with macros are deemed safe, 
then a patch should be provided.

Eric

> -----Original Message-----
> From: Bill Westfield [mailto:wes...@yahoo.com]
> Sent: Monday, September 26, 2011 3:41 PM
> To: Jan Waclawek; Jan Waclawek; Georg-Johann Lay; Weddington, Eric; avr-
> libc-...@nongnu.org
> Subject: Re: [bug #33716] pgmspace typedefs not legal
> 
> 
> > Rather than deprecating the typedefs in pgmspace.h, I would suggest to
> replace
> > them by respective macros.
> 
> That would be nice, but I don't think it's possible.  There are too many
> places where:
> 
> #define prog_uchar unsigned char PROGMEM
> 
> would behave differently than
> 
> typedef unsigned char PROGMEM prog_uchar;
> 
> Although I confess I'm having a hard time thinking of them...
> 
> BillW
> 


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

Reply via email to