Re: Deprecated calls in libraries

Hi Deepa,


>How do I get  the list of deprecated functions?? Other than grep for
>deprecated flags in the header files.

The easiest way I found to get ifdef'ed stuff in a source tree
was :
find . -name "*.h" -exec grep -l "GDK_DISABLE_DEPRECATED" /dev/null {} \; | 
xargs -n 1 cat | unifdef -c -DGDK_DISABLE_DEPRECATED | egrep -v "ifndef|endif"

Ok, you get some structures and macro but it should be easy enough to 
get a list of functions you can grep through a symbol table.

Hope this helps.

[ 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]