Intel® Fortran Compiler XE 13.1 User and Reference Guides
Tells a source code analyzer to process include files and source files when issuing diagnostic messages.
Windows: Diagnostics > Analyze Include Files
Linux: None
OS X: Diagnostics > Analyze Include Files
All
Linux: | -diag-enable sc-include |
OS X: | None |
Windows: | /Qdiag-enable:sc-include |
None
OFF |
The compiler issues certain diagnostic messages by default. If the static analysis is enabled, include files are not analyzed by default. |
This option tells the static security analyzer to process include files and source files when issuing diagnostic messages. Normally, when static analysis diagnostics are enabled, only source files are analyzed.
This option is ignored unless static analysis diagnostics are enabled by providing one or more of the following options:
-diag-enable sc[n] or -diag-enable sc-mode (Linux* OS)
/Qdiag-enable:sc[n] or /Qdiag-enable:sc-mode (Windows* OS)
Linux and OS X: -diag-enable sv-include (this is a deprecated option)
Windows: /Qdiag-enable:sv-include (this is a deprecated option)
The following example shows how to cause include files to be analyzed as well as source files:
-diag-enable sc -diag-enable sc-include ! Linux systems
/Qdiag-enable:sc /Qdiag-enable:sc-include ! Windows systems
In the above example, the first compiler option enables static analysis messages. The second compiler option causes include files referred to by the source file to be analyzed.