Visible to Intel only — GUID: GUID-4D091751-042B-44D6-A2BA-01D78A93D584
Visible to Intel only — GUID: GUID-4D091751-042B-44D6-A2BA-01D78A93D584
fms-dialect
Enables support for a language dialect that is compatible with Microsoft Windows*, while maintaining link compatibility with GCC*.
Syntax
Linux: |
-fms-dialect[=ver] |
macOS: |
None |
Windows: |
None |
Arguments
ver |
Indicates that the language dialect should be compatible with a certain version of Microsoft Visual Studio*. Possible values are:
NOTE:
Support for Microsoft Visual Studio 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release. |
Default
OFF |
The compiler does not support a language dialect that is compatible with Microsoft Windows. |
Description
This option enables support for a limited language dialect that is compatible with Microsoft Windows, while maintaining link compatibility with GCC. It allows portability of code written on Windows that uses Microsoft extensions or language features. The code will be compiled with syntax and semantics similar to that used by the Microsoft Windows compiler, while continuing to produce object files that are link-compatible with the object files and libraries produced by the GCC compiler and/or by the Intel Compiler without this option.
The -fms-dialect option is intended to be used as an aid in porting code written on Windows. It is not intended to enable an all-encompassing capability for porting all such code written on Windows seamlessly. For example, even with this option enabled, there remains a need to support GCC-compatible syntax and semantics for some language constructs in order to generate object files that are link-time compatible with those produced by the GCC compiler and/or by the Intel compiler without this option.
IDE Equivalent
Alternate Options
Linux and macOS: None
Windows: /Qgcc-dialect