Compiler Error C2414
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 C2414.
illegal number of operands
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 a different number of operands. Adjust the /arch (Minimum CPU Architecture) option to use the later processor.
Show: