Fix Visual Studio Warning Level Error

From Valve Developer Community
Jump to navigation Jump to search
Warning icon.png
Warning: Work in Progress (User:Wtrace3zh)

What is it?

If your warning level is set too high when building Source SDK Base 2013 Source SDK 2013 under Visual Studio 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 VPC continue to generate Fileclient.dll or Fileserver.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 Microsoft has also published articles explaining this. Please click this link to visit the official Microsoft article: Compiler Warning (level 3) C4800