Fix Visual Studio Waring Level Error

From Valve Developer Community
Revision as of 18:00, 29 October 2019 by GamerDude27 (talk | contribs) (Corrected link. Lead to Chinese version of the page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I will write this article later, please don't delete it

What is it?

Build the source 2013 SDK under Visual Studio 2013 If your Waring level is set too high, some negligible errors will be taken seriously by visual studio 2013 These errors can be ignored, but vs 2013 doesn't think so,

if your Waring level is set to "level 3"(Default is level 3)

Visual studio will not let VPC continue to generate client.dll or server.dll when building Although visual studio will generate all obj files in the project, it will still not call VPC to generate the final files we want. Because visual studio 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]