[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: |
Tue, 1 Mar 2011 17:56:43 -0800 |
On Mon, Feb 28, 2011 at 7:01 PM, Weddington, Eric <address@hidden
> wrote:
> We could then have it default on, with a conditional compilation symbol to
> turn OFF the poisoning of deprecated items.
>
> For example:
>
> ------------------------------
> // I/O header file
>
> // A bunch of defined stuff...
>
> #if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
> #pragma GCC system_header
> #pragma GCC poison abc
> // Poisoned definitions.
> #pragma GCC poison xyz
> #endif
> ------------------------------
>
> How does that sound?
>
> Eric Weddington
>
Sounds good to me. That's what I was thinking it should be.
--John
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [avr-libc-dev] [RFC] Conditional poisoning of deprecated items,
John Myers <=