|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
/analyze (Enterprise Code Analysis)
Enable code analysis.
Specifying /analyze:WX- means code analysis warnings will not be treated as errors when compiling with /WX. Seefor more information.
/analyze is only available in Enterprise (team development) versions for x86 compilers.
For more information on code analysis, seeand .
To set this compiler option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see.
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 linker option programmatically