Export (0) Print
Expand All

VCMidlTool.WarningLevel Property

Gets or sets a value indicating how strictly the compiler checks for potentially suspect constructs.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

midlWarningLevelOption WarningLevel { get; set; }

WarningLevel exposes the functionality of the C++ compiler's /w, /Wn, /WX, /Wall, /wln, /wdn, /wen, /won (Warning Level) option and the MIDL compiler's /w, /Wn, /WX, /Wall, /wln, /wdn, /wen, /won (Warning Level) option.

Use the warningLevelOption enumeration to change the value of the VCCLCompilerTool property.

Use the midlWarningLevelOption enumeration to change the value of the VCMidlTool property.

© 2014 Microsoft