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.
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.
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.