Fix Visual Studio Warning Level Error

From Valve Developer Community
Jump to: navigation, search
Note.png Note: I will write this article later, please don't delete it

What is it?

If your warning level is set too high when building Source 2013 SDK under Visual Studio 2013, some negligible errors will be taken seriously by the compiler.

These errors can be ignored, but Visual Studio doesn't think so.

If your warning level is set to Level 3 (/W3), which is the default, Visual Studio will not let VPC continue to generate client.dll or server.dll when building.

Although all the .obj files in the project will be generated, the compiler will still not call VPC to generate the final files we want because it thinks these errors are serious and cannot be ignored.

Microsoft has also published articles explaining this. Please click this link to visit the official Microsoft article [Compiler Warning (level 3) C4800]