Use the option -Wunused with gcc.
gcc MyFile.cpp -Wunused
This entry was posted on Thursday, October 9th, 2008 at 12:48 pm and is filed under C++, gcc. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.