Treat warning as errors

Also note that you should just include the numeric part of the error code. If your code is “C1234” do “#pragma warning(disable: 1234)”.