[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-libc-dev] [RFC] Conditional poisoning of deprecated items
From: |
John Myers |
Subject: |
Re: [avr-libc-dev] [RFC] Conditional poisoning of deprecated items |
Date: |
Sun, 27 Feb 2011 20:44:44 -0800 |
On Sun, Feb 27, 2011 at 8:23 PM, Weddington, Eric <address@hidden
> wrote:
> ...
> I propose that this poisoning be done in avr-libc header files, as needed,
> using such a conditional define. The default would be to have the poisoning
> OFF, like above, which allows all deprecated items exist as before. A user
> would define the symbol above to turn on the poisoning of all deprecated
> items in avr-libc, for the purpose of discovering and fixing all deprecated
> items in their application code.
>
> I'm not stuck on the name of the conditional define to use. I'm open to
> better ideas.
>
> Thoughts?
>
> Eric Weddington
>
I don't think the type of people that continue to use deprecated symbols
will bother with using that define either. I think the default should be to
have poisoning on.
--John