943,502 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2060
  • C++ RSS
Sep 22nd, 2004
1

Tool Needed

Expand Post »
Hello,

Is there any tool which will detect the unused methods of a class in a C++ project? So by using this tool I can reduce my build size by eliminating the un used methods.
Similar Threads
Reputation Points: 12
Solved Threads: 0
Newbie Poster
vivekgalatage is offline Offline
6 posts
since Aug 2004
Sep 22nd, 2004
0

Re: Tool Needed

> Is there any tool which will detect the unused methods of a class in a C++ project?

PC-lint?
Team Colleague
Reputation Points: 2780
Solved Threads: 312
long time no c
Dave Sinkula is offline Offline
4,790 posts
since Apr 2004
Sep 22nd, 2004
1

Re: Tool Needed

The linker can remove unreferenced functions too. In VC, under Project Settings/"c/c++"/Customize there's a checkbox called "Enable function-level linking."

Check it, and unreferenced functions can go away.
Reputation Points: 36
Solved Threads: 11
Posting Pro in Training
Chainsaw is offline Offline
436 posts
since Jun 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Talks on Data Mining
Next Thread in C++ Forum Timeline: do u know LZ77 algorithm





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC