Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2005
Visual Studio
Visual C++
Compiler Options
 /analyze (Enterprise Code Analysis)
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Visual C++ Compiler Options
/analyze (Enterprise Code Analysis)

Enable code analysis.

/analyze[:WX-]

Specifying /analyze:WX- means code analysis warnings will not be treated as errors when compiling with /WX. See /w, /Wn, /WX, /Wall, /wln, /wdn, /wen, /won (Warning Level) for more information.

/analyze is only available in Enterprise (team development) versions for x86 compilers.

For more information on code analysis, 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

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Expand the Configuration Properties node.

  3. Expand the Code Analysis node.

  4. Select the General property page.

  5. Modify one or more of the Code Analysis properties.

To set this linker option programmatically

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker