I have a huge project that I am re-factoring, there are a lot of define statements that I am changing to enums, defines that I am also changing to const variables in a common file.
while I was re-factoring I found that some of the defines were repeated in sub classes header. some of the defines, and structs were not even used, or used to.
how can I make the compiler point them out, like when the compiler show unused variables?
I want to get ride of them,
right now I comment them out, and find what is needed manually! is there other ways