This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFC] ARI related: Use of GCC poison pragma
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb at sourceware dot org
- Date: Thu, 15 Nov 2012 07:13:50 -0800
- Subject: Re: [RFC] ARI related: Use of GCC poison pragma
- References: <009b01cdc30f$c7684e80$5638eb80$@muller@ics-cnrs.unistra.fr>
> 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