[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Progmem types compatibility
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Progmem types compatibility |
Date: |
Mon, 9 Jan 2012 23:42:37 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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] Progmem types compatibility, Dmitry, 2012/01/06
- Re: [avr-libc-dev] Progmem types compatibility, Georg-Johann Lay, 2012/01/07
- Re: [avr-libc-dev] Progmem types compatibility, David Brown, 2012/01/09
- Re: [avr-libc-dev] Progmem types compatibility,
Joerg Wunsch <=
- Re: [avr-libc-dev] Progmem types compatibility, David Brown, 2012/01/09
- Re: [avr-libc-dev] Progmem types compatibility, Dmitry, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Joerg Wunsch, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, David Brown, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Joerg Wunsch, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Jan Waclawek, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Joerg Wunsch, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, David Brown, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Jan Waclawek, 2012/01/10
- Re: [avr-libc-dev] Progmem types compatibility, Georg-Johann Lay, 2012/01/10