c++ - Issue unused parameter warnings in XCode -


I am using XcodeDA 6.0.1 (6A317) with Mac OS X Mavericks. In my C ++ project, I recently discovered a bug that could be detected by the fact that I forgot to use any parameter of the function. For example, the following functions should result in two warnings (for two unused criteria):

  int main (integer argc, const char * argv []) {return 0; Open the build settings of your project In the search field at the top, click the "Unused" enter the. 

You will see several matching settings under warnings. One of them is the unused parameter, turn it on.

Enter image details here


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

Registering an Interceptor For All Interface Implementaions in Castle Windsor -