Developer Guide and Reference

Contents

Qgcc-dialect

Enables support for a limited gcc-compatible dialect on Windows*.

Syntax

Linux and macOS:
None
Windows:
/Qgcc-dialect
:
ver
Arguments
ver
Indicates the version of the gcc compiler that the limited language dialect should be compatible with. It must be a three-digit number with a value of 440 or higher. The number will be normalized to reflect the gcc compiler version numbering scheme. For example, if you specify 450, it indicates gcc version 4.5.0.
Default
OFF
The compiler does not support a language dialect that is compatible with the gcc compiler.
Description
This option enables support for a limited gcc-compatible dialect on Windows*. It allows portability of code written for the gcc compiler.
This option enables a limited gnu-compatible compiler dialect on Windows. The code will be compiled with syntax and semantics similar to that used by gcc, while continuing to produce object files that are link-compatible with the object files and libraries on Windows (that is, object files and libraries produced by the Microsoft compiler and/or by the Intel compiler without this option).
The
/Qgcc-dialect
option is intended to be used as an aid in porting code written for the gcc compiler. It is not intended to enable an all-encompassing capability for porting all such code written for the gcc compiler seamlessly. For example, even with this option enabled, there remains a need to support Windows-compatible syntax and semantics for some language constructs in order to generate object files that are link-time compatible with those produced by the Windows compiler and/or by the Intel compiler without this option.
Alternate Options
Linux and
macOS*
:
-fms-dialect
Windows: None