As David Brown wrote:

> Being able to attach the "progmem" attribute to the type is a useful 
> feature - or it would be, if it were safe to use.  The main reason, as I 
> see it, is the same with all type information - it helps improve the 
> safety, static (compile-time) error checking, and self-documenting 
> aspects of code.

But as we had to learn, actually just *this* was never the case.  So
in retrospect, the typedef only gave a false feeling of safety.

As I understand it, using typedefs with named address spaces should be
safe to use.  Perhaps Johann can correct me if I'm wrong with this.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

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

Reply via email to