[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] What is '__AVR_HAVE_MUL__'?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] What is '__AVR_HAVE_MUL__'? |
Date: |
Tue, 30 Jan 2007 21:09:51 +0100 |
User-agent: |
Mutt/1.5.11 |
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. ;-)