Intel® C++ Compiler Classic Developer Guide and Reference

ID 767249
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Qms

Tells the compiler to emulate Microsoft* compatibility bugs.

Syntax

Linux and macOS:

None

Windows:

/Qmsn

Arguments

n

Possible values are:

0

Instructs the compiler to disable some Microsoft* compatibility bugs. It tells the compiler to emulate the fewest number of Microsoft compatibility bugs.

1

Instructs the compiler to enable most Microsoft compatibility bugs. It tells the compiler to emulate more Microsoft compatibility bugs than /Qms0.

2

Instructs the compiler to generate code that is Microsoft compatible. The compiler emulates the largest number of Microsoft compatibility bugs.

Default

/Qms1

The compiler emulates most Microsoft* compatibility bugs.

Description

This option tells the compiler to emulate Microsoft* compatibility bugs.

CAUTION:

When using /Qms0, your program may not compile if it depends on Microsoft headers with compatibility bugs that are disabled with this option. Use /Qms1 if your compilation fails.

IDE Equivalent
None
Alternate Options

None