Use the option -Wunused with gcc.
gcc MyFile.cpp -Wunused
Leave a Comment » | C++, gcc | Tagged: C++, gcc, Linux, unused parameters, warn on unused parameters | Permalink Posted by cppkid
You are currently browsing the My Experiments with C++ blog archives for the day Thursday, October 9th, 2008.
Subscribe in a reader