unused functions in VC++ 2003

  • Thread starter Thread starter Lynn McGuire
  • Start date Start date
L

Lynn McGuire

How do I get a list of unused functions in my application using
Visual C++ 2003 ?

I know that I have several in 300,000 lines of C++ code. However,
tracking them down is very difficult.

Thanks,
Lynn McGuire
 
Lynn McGuire said:
How do I get a list of unused functions in my application using
Visual C++ 2003 ?

I know that I have several in 300,000 lines of C++ code. However,
tracking them down is very difficult.

Run your testsuite using a profiler?
Build twice, once with 'strip unused symbols' , once without /OPT:[NO]REF
and compare the symbol maps (/MAP)?

HTH,
Michiel Salters
 
Back
Top