Find never-called functions

前端 未结 4 1853
萌比男神i
萌比男神i 2020-12-10 18:43

I\'m doing some refactoring in a project using Qt with Visual Studio 2008, and I\'d like to know if there\'s a simple way to find the functions and methods that are never ca

4条回答
  •  清歌不尽
    2020-12-10 19:20

    A -Wall in your compilation options should do it. (Or -Wunused-function). Check the compilator options in VS.

提交回复
热议问题