title: How to use The highest Warning Level (Wall) for Visual Studio 2017 when it's incompatible for the std headers?
body: <p>But I want to use it with &quot;Warnings treated as errors&quot; = Yes</p>
  <p>There seems to be a lot of useful check in the compiler flag but it isn't compatible with the standard headers. I want to use this compiler flag to check my code, but not the std headers. Is there a way to do this?</p>
  <p>Or just disable warnings for any code I didn't write?</p>
  <p>Edit:</p>
  <p>Added pictures of the settings in visual studio and an example of what happens when I try to build. With just including iostream!</p>
  <p><a href="https://i.stack.imgur.com/Mgg8y.png" rel="nofollow noreferrer">Example when trying to compile a basic C++ program with these settings</a></p>