Compiler Warning (level 1) C4558
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4558

Error Message

value of operand 'value' is out of range 'lowerbound - upperbound'

The value passed to an assembly language instruction is out of the range specified for the parameter. The value will be truncated.

The following sample generates C4558:

// C4558.cpp
// compile with: /W1
// processor: x86
void asm_test() {
   __asm pinsrw   mm1, eax, 8;   // C4558

int main() {
© 2015 Microsoft