As Anatoly Sokolov wrote:

> I consider that the __AVR_ENHANCED__ macro should be obsolete. I
> asked Denis the sanction to remove __AVR_ENHANCED__ from the GCC 4.3
> or later version, but he was against. Hence the __AVR_ENHANCED__
> will be present in the compiler still some time.

That's probably a reasonable strategy for a transition.  That way,
people using old library versions could still use a newer compiler.

> __AVR_HAVE_*__ macros are defined in  'include/avr/io.h' and 
> 'common/macros.inc' files so:
> 
> #ifndef __AVR_HAVE_MOVW__
> #  if  defined(__AVR_ENHANCED__) && __AVR_ENHANCED__
> #   define __AVR_HAVE_MOVW__ 1
> #  endif
> #endif

That looks good, thanks for the explanation.  Also thanks for adding
documentation for these macros!

-- 
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
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to