On Mon, Feb 28, 2011 at 7:01 PM, Weddington, Eric <[email protected]
> 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
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to