Intel® C++ Compiler XE 13.1 User and Reference Guides
This topic lists the options that provide new functionality in this release.
Some compiler options are only available on certain systems, as indicated by these labels:
|
Label |
Meaning |
|---|---|
|
i32 |
The option is available on systems using IA-32 architecture. |
|
i64em |
The option is available on systems using Intel® 64 architecture and Intel® Many Integrated Core Architecture (Intel® MIC Architecture). |
If no label appears, the option is available on all supported systems.
If "only" appears in the label, the option is only available on the identified system.
For more details on the options, refer to the individual option descriptions.
For information on conventions used in this table, see Notational Conventions.
New compiler options are listed in tables below:
The first table lists new options that are available on Windows* systems.
The second table lists new options that are available on Linux* and OS X* systems. If an option is only available on one of these operating systems, it is labeled.
|
Windows* OS Options |
Description |
Default |
|---|---|---|
|
/check:keyword |
Checks for certain conditions at run time. |
OFF |
|
/Qcheck-pointers:keyword |
Determines whether the compiler checks bounds for memory access through pointers. |
/Qcheck-pointers:none |
|
/Qcheck-pointers-dangling:keyword |
Determines whether the compiler checks for dangling pointer references. |
/Qcheck-pointers-dangling:none |
|
/Qcheck-pointers-undimensioned[-] |
Determines whether the compiler checks bounds for memory access through arrays that are declared without dimensions. |
/Qcheck-pointers-undimensioned- |
|
/Qdiag-enable:sc-enums |
Tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. |
OFF |
|
/Qdiag-enable:sc-mode |
Enables static analysis diagnostics and lets you specify the analysis mode. |
OFF |
|
/Qdiag-enable:sc-single-file |
Tells static analysis to process each file individually. |
OFF |
|
/Qextend-arguments:n |
Controls how scalar integer arguments are extended in calls to unprototyped and varargs functions. |
/Qextend-arguments:32 |
|
/Qgcc-dialect:ver |
Enables support for a language dialect that is compatible with the gcc compiler, while maintaining link compatibility with Windows* OS. |
OFF |
|
/Qguide-profile:filename | dir [, [filename | dir]...] |
Specifies a loop profiler data file (or a set of files) when used with option /Qguide. |
OFF |
|
/watch[:keyword] |
Tells the compiler to display certain information to the console output window. |
/nowatch |
|
Linux* OS and OS X* Options |
Description |
Default |
|---|---|---|
|
-check=keyword |
Checks for certain conditions at run time. |
OFF |
|
-check-pointers=keyword (Linux* OS only) |
Determines whether the compiler checks bounds for memory access through pointers. |
-check-pointers=none |
|
-check-pointers-dangling=keyword (Linux* OS only) |
Determines whether the compiler checks for dangling pointer references. |
-check-pointers-dangling=none |
|
-[no-]check-pointers-undimensioned(Linux* OS only) |
Determines whether the compiler checks bounds for memory access through arrays that are declared without dimensions. |
-check-pointers-undimensioned |
|
-clang-name=name (OS X* only) |
Specifies the name of the Clang compiler that should be used to set up the environment for C compilations. |
OFF |
|
-clangxx-name=name (OS X* only) |
Specifies the name of the Clang++ compiler that should be used to set up the environment for C++ compilations. |
OFF |
|
-debug [no]macros |
Determines whether the compiler emits debugging information for C/C++ macros. |
-debug nomacros |
|
-debug [no]pubnames |
Determines whether the compiler generates a DWARF debug_pubnames section. |
-debug nopubnames |
|
-diag-enable sc-enums |
Tells static analysis to treat enumeration variables as known values equal to any one of the associated enumeration literals. |
OFF |
|
-diag-enable sc-mode |
Enables static analysis diagnostics and lets you specify the analysis mode. |
OFF |
|
-diag-enable sc-single-file |
Tells static analysis to process each file individually. |
OFF |
|
-fextend-arguments=n |
Controls how scalar integer arguments are extended in calls to unprototyped and varargs functions. |
-fextend-arguments=32 |
|
-fgnu89-inline |
Tells the compiler to use C89 semantics for inline functions when in C99 mode. |
OFF |
|
-f[no-]stack-protector-all |
Enables or disables stack overflow security checks including functions. |
-fno-stack-protector-all |
|
-grecord-gcc-switches (Linux* OS only) |
Causes the command line options that were used to invoke the compiler to be appended to the DW_AT_producer attribute in DWARF debugging information. |
OFF |
|
-guide-profile=filename | dir [, [filename | dir]...] |
Specifies a loop profiler data file (or a set of files) when used with option -guide. |
OFF |
|
-mmic (i64em; Linux* OS only) |
Builds an application that runs natively on Intel® MIC Architecture. This option only applies to Intel® MIC Architecture. |
OFF |
|
-no-offload (i64em; Linux* OS only) |
Causes the compiler to ignore language constructs for offloading. This option only applies to Intel® MIC Architecture. |
OFF |
|
-offload-attribute-target=target-name (i64em; Linux* OS only) |
Causes the compiler to flag every global routine and global data object in the source file with the offload attribute "target(mic)". This option only applies to Intel® MIC Architecture. |
OFF |
|
-offload-option, target, tool, "option-list" (i64em; Linux* OS only) |
Lets you explicitly specify options to be used for the specified target and tool. This option only applies to Intel® MIC Architecture. |
OFF |
|
--sysroot (Linux* OS only) |
Specifies the root directory where headers and libraries are located. |
OFF |
|
-use-clang-env (OS X* only) |
Enables the use of the Clang environment. |
-no-use-clang-env |
|
-watch[=keyword] |
Tells the compiler to display certain information to the console output window. |
-nowatch |