Compiler Error C2218

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C2218.

__vectorcall' cannot be used with '/arch:IA32'

The __vectorcall calling convention is only supported in native code on x86 and x64 processors that include Streaming SIMD Extensions 2 (SSE2) and above. For more information, see __vectorcall.

To fix this error, change the compiler options to target SSE2, AVX or AVX2 instruction sets. For more information, see /arch (x86).

Show: