This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012


>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:

Pierre> For the second category, a possible solution would be to
Pierre> add or override the function as a macro that would generate an error
Pierre> at compilation time,
Pierre> but I am not sure this is easy to do in a way that would 
Pierre> work for all systems...

IMO it is ok if it doesn't work universally as long as it works for a
large enough subset of gdb developers.  This will ensure that most
breakages are caught early.

GCC uses the poison pragma for this.  It seems to work well enough.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]