Re: [RFC] ARI related: Use of GCC poison pragma

Joel Brobecker
2012-11-15T15:14:00Z

> To avoid resurgence of expunged ARI problems,
> Pedro suggested the use of GCC poison pragma.

I believe it was Tom, actually.

> What would be the corresponding gdb file? I suppose it would be
> defs.h

I agree that defs.h should be a good place for it.

> So would a patch adding
> #if (GCC_VERSION >= 3000)
> #pragma GCC poison xvasprintf
> #endif

I don't think we really need the GCC_VERSION check, do we?

--
Joel