Warning as error - How to get rid of these
Each project in Visual Studio has a "treat warnings as errors" option. Go through each of your projects and change that setting:
- Right-click on your project, select "Properties".
- Click "Build".
- Switch "Treat warnings as errors" from "All" to "Specific warnings" or "None".
The location of this switch varies, depending on the type of project (class library vs. web application, for example).
For Visual Studio Express 2013 to get rid of these problem you have to do the following.
Right click on your project click Properties. In properties window from left menus select Configuration Properties->C/C++->General
In right side select
Treat Warning As Errors NO
and
SDL Checks NO
The top answer is outdated for Visual Studio 2015
.
English:
Configuration Properties -> C/C++ -> General -> Treat Warning As Errors
German:
Konfigurationseigenschaften -> C/C++ -> Allgemein -> Warnungen als Fehler behandeln
Or use this image as reference, way easier to quickly mentally figure out the location: