[RFC] ARI related: Use of GCC poison pragma

Joel Brobecker brobecker@adacore.com
Thu Nov 15 15:14:00 GMT 2012


>   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



More information about the Gdb mailing list