[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal
From: |
Weddington, Eric |
Subject: |
Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal |
Date: |
Mon, 26 Sep 2011 16:39:26 -0600 |
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:address@hidden
> Sent: Monday, September 26, 2011 3:41 PM
> To: Jan Waclawek; Jan Waclawek; Georg-Johann Lay; Weddington, Eric; avr-
> address@hidden
> 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] [bug #33716] pgmspace typedefs not legal, Eric Weddington, 2011/09/26
- [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Jan Waclawek, 2011/09/26
- Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Weddington, Eric, 2011/09/26
- Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Bill Westfield, 2011/09/27
- Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Georg-Johann Lay, 2011/09/27
- Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Jan Waclawek, 2011/09/27
- Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Georg-Johann Lay, 2011/09/27
Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal, Georg-Johann Lay, 2011/09/27