Specifies compatibility with Microsoft* Visual C++ or Microsoft* Visual Studio.

Syntax

Linux and macOS:

None

Windows:

/Qvc14.1

/Qvc14

/Qvc12

Arguments

None

Default

varies

When the compiler is installed, it detects which version of Visual Studio is on your system. Qvc defaults to the form of the option that is compatible with that version. When multiple versions of Visual Studio are installed, the compiler installation lets you select which version you want to use. In this case, Qvc defaults to the version you choose.

Description

This option specifies compatibility with Microsoft* Visual C++ or Microsoft* Visual Studio.

Option

Description

/Qvc14.1

Specifies compatibility with Microsoft* Visual Studio 2017.

/Qvc14

Specifies compatibility with Microsoft* Visual Studio 2015.

/Qvc12

Specifies compatibility with Microsoft* Visual Studio 2013.

IDE Equivalent

None

Alternate Options

None

Para obter informações mais completas sobre otimizações do compilador, consulte nosso aviso de otimização.