How to deal with Warning C4100 in Visual Studio 2008
Posted
by Jimmie
on Stack Overflow
See other posts from Stack Overflow
or by Jimmie
Published on 2010-03-25T22:22:06Z
Indexed on
2010/03/25
22:33 UTC
Read the original article
Hit count: 422
c++
|visual-studio
For some reason my Visual Studio 2008 began to show warnings for code like: "int main( int argc, char **argv)", which is really annoying.
The detailed warning ouputs are (you can ignore the line numbers): 1>.\main.cpp(86) : warning C4100: 'argv' : unreferenced formal parameter 1>.\main.cpp(86) : warning C4100: 'argc' : unreferenced formal parameter
I wonder if there are settings in Visual Studio 2008 that have been accidentally changed. Or how should I deal with this warning? Thank you all.
© Stack Overflow or respective owner