Re: Deprecated calls in libraries



Hi Deepa,

>
>I mean to say that setting all these disable deprecated flags is not an
>exhaustive way for removing all deprecated stuff from libraries. Is
>there any way for finding out all the deprecated calls in the libraries?

Can you force all the symbols to be resolved at link time ?

If not grep for undefined symbols in the library then grep for deprecated 
functions.
e.g. (on solaris nm <lib>| grep U | egrep <list of deprecated functions>).


Hope this helps.

Erwann
>
>Do we have to grep for deprecated flags in the header files to get the
>list of all deprecated calls and then run a script to check if these are
>present in the libraries.
>
>Thanks
>Deepa
>
>
>
>

[ I speak for myself, not for my employer. ]
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Erwann Chénedé, Sun Microsystems Ireland
  Desktop Applications & Middleware Group
  Phone  : +353 1 8199031        xt: 19031
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]