Follow up to question: g++ does not show a 'unused' warning.
I fully understand why g++ doesn't warn about these variables, but I would like it to somehow find them anyway. The code I'm working on doesn't have any of those special cases, so a single FloatArray x;
is almost definitely left-overs.
Even If i have to mark individual classes (Such as warning for unused FloatArray-objects) it would be very useful. What can I do?