Tells the Static Verifier to analyze include files and source files when issuing diagnostic messages.
Windows: Diagnostics > Analyze Include Files
Linux: None
Mac OS X: Diagnostics > Analyze Include Files
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
-diag-enable sv-include |
Windows: |
/Qdiag-enable sv-include |
None
OFF |
The compiler issues certain diagnostic messages by default. If the Static Verifier is enabled, include files are not analyzed by default. |
This option tells the Static Verifier to analyze include files and source files when issuing diagnostic messages. Normally, when Static Verifier diagnostics are enabled, only source files are analyzed.
To use this option, you must also specify -diag-enable sv (Linux and Mac OS X) or /Qdiag-enable:sv (Windows) to enable the Static Verifier diagnostics.
None
The following example shows how to cause include files to be analyzed as well as source files:
-diag-enable sv -diag-enable sv-include ! Linux and Mac OS systems
/Qdiag-enable:sv /Qdiag-enable:sv-include ! Windows systems
In the above example, the first compiler option enables Static Verifier messages. The second compiler option causes include files referred to by the source file to be analyzed also.