This documentation is archived and is not being maintained.
/analyze (Code Analysis)
Visual Studio 2013
Enables code analysis and control options.
/analyze[-][:WX-][:log filename][:quiet][:stacksize number][:max_paths number][:only]
For more information, see Code Analysis for C/C++ Overview and Code Analysis for C/C++ Warnings.
To set this compiler option in the Visual Studio development environment
-
Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.
-
Expand the Configuration Properties node.
-
Expand the Code Analysis node.
-
Select the General property page.
-
Modify one or more of the Code Analysis properties.
To set this compiler option programmatically
-
See EnablePREfast.
Show: