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: Bill Westfield
Subject: Re: [avr-libc-dev] [bug #33716] pgmspace typedefs not legal
Date: Mon, 26 Sep 2011 14:41:08 -0700 (PDT)


> 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


reply via email to

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