Share via


Compiler Error C2880 (Windows Embedded CE 6.0)

1/5/2010

__swi requires a valid constant as first argument (SWI number)

The _swi intrinsic function did not receive an integer constant as expected for the first argument. The integer constant must be in the range [0 - 16777215] for ARM, or [0 - 255] for Thumb microprocessors.

Example

int test_intrinsic(int x) 
{

     return __swi(x, 12, 14, 13, 12); // error C2880
}

See Also

Reference

Device Compiler Error Messages