[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] Use of deprecated attribute
From: |
Joerg Wunsch |
Subject: |
Re: [avr-libc-dev] Use of deprecated attribute |
Date: |
Thu, 24 Aug 2006 22:05:51 +0200 |
User-agent: |
Mutt/1.5.11 |
As Eric Weddington wrote:
> Should __attribute__((deprecated)) be used in the definition of
> SIGNAL() in interrupt.h? My concern would be that it is applied to
> the use of the function name, which in this case would be __vector_X
> (or somesuch) and the warning would be confusing to the end user.
Yes, I think that's what will happen, and will confuse the users even
more I'm afraid. There's unfortunately no method around that would
warn about the use (not the definition) of a deprecated macro.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)