Possible Duplicate:
Can I treat a specific warning as an error?
I'd like to treat selected warnings as errors in my MS Visual Studio C++ 2008 project. Is that possible?
Possible Duplicate:
Can I treat a specific warning as an error?
I'd like to treat selected warnings as errors in my MS Visual Studio C++ 2008 project. Is that possible?
Go to your project-> properties->C/C++
There is an option Treat warnings as errors. you can mark it as yes