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



> -----Message d'origine-----
> De?: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé?: lundi 12 novembre 2012 16:51
> À?: Pierre Muller
> Cc?: 'Pedro Alves'; devans@sourceware.org; gdb-patches@sourceware.org
> Objet?: Re: PING: [RFA] Fix New ARI warning Tue Nov 6 01:58:48 UTC 2012
> 
> >   There is probably a list of other similar functions that we should
> >   obsolete.
> 
> Can you tell us which functions you have in mind?

  
 It depends if we only consider GDB specific functions
or also functions which are part of some system headers.

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

  We could forbid by this scheme
function like bcmp/bcopy, abort,
even forbidden constants as true or false
See the list of 'Fixed' items at the bottom of the ARI web page.
 
> >   1-- Brutal method:
> > Remove function from both header and C sources
> > as well as from ARI script.
> 
> I'd go with this approach.

  As long as we reach an agreement on the method...

Pierre 


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