Compiler Error C2415
Visual Studio 2015
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 C2415.
improper operand type
The opcode does not use operands of this type.
To fix by checking the following possible causes
The opcode does not support the number of operands used. Check an assembly-language reference manual to determine the correct number of operands.
A newer processor supports the instruction with additional types. Adjust the /arch (Minimum CPU Architecture) option to use the later processor.
Show: