User and Reference Guide for the Intel® C++ Compiler 14.0

diag-enable sc-single-file, Qdiag-enable:sc-single-file

Tells static analysis to process each file individually.

Syntax

Linux OS:

-diag-enable sc-single-file

OS X:

None

Windows OS:

/Qdiag-enable:sc-single-file

Arguments

None

Default

OFF

If static analysis is enabled, it analyzes the whole program.

Description

This option tells static analysis to process each file individually. Skipping the usual whole-program analysis reduces memory requirements and analysis time on large programs but often finds fewer real errors.

This option is ignored unless you enable static analysis diagnostics by specifying option [Q]diag-enable setting sc[n] or setting sc-mode.

This static analysis feature requires installation of another product. For more information, see Feature Requirements.

IDE Equivalent

Windows: Diagnostics > Analyze Files Individually

Linux: Compilation Diagnostics > Analyze Files Individually

OS X: None

Alternate Options

None

See Also


Submit feedback on this help topic